Re: [PHP] Conditions within a function

2002-04-16 Thread Erik Price
it up, and this applies to all header() types, not just Location:. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] formatting form input

2002-04-16 Thread Erik Price
Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] format date

2002-04-16 Thread Erik Price
result after the fact.) Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem grabbing value of session

2002-04-16 Thread Erik Price
Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] superglobal var names can't access object methods?

2002-04-16 Thread Erik Price
why I might be getting the undefined function error? Am I unable to use a superglobal ($_SESSION['prfolder']) as the name of an object when attempting to use a method of that object (as in the code at the top of this email)? TIA, Erik Erik Price Web Developer Temp Media Lab, H.H

Re: [PHP] Re: superglobal var names can't access object methods?

2002-04-16 Thread Erik Price
if I can avoid this. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session_is_registered

2002-04-15 Thread Erik Price
a string constant ('bar'), you could use another variable to make $_SESSION['foo'] refer to the same thing, as in: ?php $baz = 'bar'; $_SESSION['foo'] = $baz; ? You can access this new session variable in the way you might expect, by using $_SESSION['foo']. Erik Erik Price Web Developer

Re: [PHP] XHTML tag attribute quoting (Was Re: Forms in PHP)

2002-04-15 Thread Erik Price
knowledge, the following is fine XML/XHTML: select class='uppercontent' multiple=multiple name=beefcake ... /select Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] globals in functions

2002-04-15 Thread Erik Price
refer to a POST or GET (or COOKIE or SESSION or SERVER) variable as $_POST['variablename'] or $_GET['variablename'], then it will automatically be global. In PHP 4.1.x or later Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Internet Explorer - BACK Button - Passwords?

2002-04-15 Thread Erik Price
need to stripslash() your $_POST data if you have gpc_magic_quotes = on. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Remote file does not return var?

2002-04-15 Thread Erik Price
. So, any variables that were available in your included file are now included in your script, although they are not returned in the sense that you are hoping for. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] register_shutdown_function

2002-04-15 Thread Erik Price
://www.php.net/manual/en/language.oop.constructor.php , down at the bottom just before the annotations. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting language

2002-04-15 Thread Erik Price
toward Unicode, the official distinction of an English character vs any other language's character is becoming blurry -- at least in the field of information delivery. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] chown ..opperation not permitted

2002-04-15 Thread Erik Price
is compromised. Erik (somebody) Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] chown ..opperation not permitted

2002-04-15 Thread Erik Price
to change the ownership of a file to someone else is another matter entirely. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] chown ..opperation not permitted

2002-04-15 Thread Erik Price
to do anything with sudo. You're better off making nobody a member of the same group as the other user, and using chgrp. erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] calculating US holidays

2002-04-15 Thread Erik Price
On Monday, April 15, 2002, at 03:17 PM, Tom Beidler wrote: I need to calculate the date to see if it's a holiday, i.e. is today presidents day No, today is Patriot's Day! Not sure if it's celebrated outside of Massachusetts Erik Erik Price Web Developer Temp Media Lab

[PHP] peer code review wanted

2002-04-15 Thread Erik Price
? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] peer code review wanted

2002-04-15 Thread Erik Price
even have a return true! Now, back to work. I can stop fuming around the room. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Posting with script tags, or a plea not to

2002-04-12 Thread Erik Price
/function.htmlspecialchars.php Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forms in PHP

2002-04-12 Thread Erik Price
Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] displaying form data

2002-04-12 Thread Erik Price
something like: $template_page = ./includes/site_template.inc; str_replace({{{NAVIGATION}}}, $navigation_column, $template_page); This is oversimplified and wouldn't really work (you need to read the template page into a file handle, etc) but demonstrates the theory. Erik Erik Price

Re: [PHP] Wanting a better understanding of classes in PHP...

2002-04-12 Thread Erik Price
. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] embedd avi into page?

2002-04-12 Thread Erik Price
question. Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IMPORTANT question for anyone using XSLT

2002-04-12 Thread Erik Price
$addl_buffers['MyThirdArbitraryBuffer'] = ... etc etc etc... then, in stylesheet, for instance: xsl:variable name=TestBuffer select=document('arg:/MySecondBuffer')/MyNode/ etc, etc. Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] update entries in a table

2002-04-12 Thread Erik Price
tablename SET tablename.columname = '$value'; if (!mysql_query($update_sql, $db)) { die(Could not process update SQL query); } Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] update entries in a table

2002-04-12 Thread Erik Price
On Friday, April 12, 2002, at 05:35 PM, Erik Price wrote: How do I update entries in MySQL? Say for example, I checked some fields to a table, and decided to make update to a particular field. How do I do that in PHP? // $db = database connection handler $update_sql = UPDATE

Re: [PHP] quotes

2002-04-12 Thread Erik Price
for addslashes() and stripslashes() at www.php.net for information on their usage. You may also be able to set the gpc_magic_quotes setting in your php.ini on your server, but using addslashes() and stripslashes() allows you to fine-tune your control. Erik Erik Price Web Developer Temp Media Lab

Re: [PHP] constructors in derived classes

2002-04-11 Thread Erik Price
shortchanging yourself the value of having a constructor in Base, since you are calling it as a method and not using its automaticness feature. Thanks again, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Sub groups ? - Programming structure...

2002-04-09 Thread Erik Price
()) { die(Could not display login form); } Note that some might consider this a perversion of functions, since functions are intended to operate on input and return a value -- but this is a convenient way of modularizing your display code, and I use it a lot. Erik Erik Price Web

[PHP] order of evaluation

2002-04-09 Thread Erik Price
test, !empty(), fails. I certainly don't want to set the password to an empty string! (Actually the method requires at least 8 characters or it fails, but I was wondering for the sake of curiosity what would happen.) Thank you, Erik Erik Price Web Developer Temp Media Lab, H.H

[PHP] need help with your code?

2002-04-09 Thread Erik Price
this list to make sure that the code is easy to read -- this burden should be on the help-requester, not the helper. Yes, this means that some 200 character-long lines will need to be reformatted for 80-char column email clients. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] Sub groups ? - Programming structure...

2002-04-09 Thread Erik Price
if I ever learn one of those other, tightly typed languages. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mailing address regexp

2002-04-09 Thread Erik Price
8 to 13 and probably be pretty safe. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] order of evaluation

2002-04-09 Thread Erik Price
On Tuesday, April 9, 2002, at 12:24 PM, Analysis Solutions wrote: Yo Erik: On Tue, Apr 09, 2002 at 11:39:31AM -0400, Erik Price wrote: elseif (!empty($_POST['newpassword']) !$user-set_password($_POST['newpassword'])) Your order of evaluation is correct. But, considering the password

Re: [PHP] order of evaluation

2002-04-09 Thread Erik Price
Hey I'm sorry Dan and everyone, I realize my mistake -- if you're curious it's in my if/elseif/else chain, I explain the problem below (scroll down): Erik On Tuesday, April 9, 2002, at 03:00 PM, Erik Price wrote: Hm. I threw in a test echo statement in the class method, to make sure

[PHP] skipping a WHILE loop in mysql_fetch_*()

2002-04-09 Thread Erik Price
. But it works fine the way I do it, immediately above. Thanks, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Erik Price
Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MAC file upload

2002-04-08 Thread Erik Price
, but there are probably tricks (like AppleScript) that you could use as a workaround, such as encoding the files in some transport-friendly format before uploading and decoding them upon download. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Disabling bars on Browser

2002-04-08 Thread Erik Price
his post. The disabling of bars, or any sort of browser feature/appearance is NOT PHP. PHP is a server side langauge. Commonly, you would use JavaScript for such stuff, so I recommend you check out the millions of JavaScript sites and newsgroups on the web. ---- Erik Price Web D

Re: [PHP] newbie configuration question

2002-04-08 Thread Erik Price
your problem by now. Needless to say, the source install is highly configurable and not very difficult, I recommend it over the RPM in almost any situation. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Appending url to file name...

2002-04-08 Thread Erik Price
by dirname() or any other function that I know of). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SSL needed for socket communication?

2002-04-08 Thread Erik Price
server), but if someone could confirm this and/or point me in the direction of the functions that allow me to use SSL that would be greatly appreciated. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Appending url to file name...

2002-04-08 Thread Erik Price
to apply this change to EVERY row, you can add a WHERE clause to choose certain rows to update. Keep in mind that test_column must be able to accommodate the new string (so you might need to make it a bigger VARCHAR or something). Good luck, Erik Erik Price Web Developer Temp Media Lab, H.H

Re: [PHP] Adding Querystrings to links

2002-04-08 Thread Erik Price
=$item\;Link/a ); Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Assigning unique form names...

2002-04-08 Thread Erik Price
=\select\/FORM/p; closedir($dir); ? Thanks in advance, Jas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Assigning unique form names...

2002-04-08 Thread Erik Price
up with another solution. As for the use of an array to do it, I don't see why not -- but try to be a bit more illustrative of what you want, since there are an infinite number of ways to use an array in this case. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL

Re: [PHP] Read and Escape file

2002-04-05 Thread Erik Price
mentions string literals but assumes that the reader already knows what they are (i.e., doesn't define them opposed to other types of inputs -- http://us4.php.net/manual/ro/html/language.types.string.html). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP

Re: [PHP] using new AUTOGLOBALS

2002-04-05 Thread Erik Price
variable in a session How easy is that! Note that doing this assignment with any other superglobal doesn't work and in most cases wouldn't make sense anyway. For instance, you can't set cookies using $_COOKIE['name'] = $name Erik Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] how to process URL parameers

2002-04-05 Thread Erik Price
of it. I CC'd this back to the list, because there are probably others who can benefit from this conversation -- in general, try to keep discussion on the list unless there is some reason for privacy. Feel free to ask if you have more questions! Erik Erik Price Web Developer Temp Media

Re: [PHP] conditionaly including classes/functions

2002-04-05 Thread Erik Price
. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: using new AUTOGLOBALS

2002-04-05 Thread Erik Price
. Can anyone offer advice? Post your exact code, I'll look at it. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP books

2002-04-05 Thread Erik Price
a book on PHP for O'Reilly, it apparently just came out a few days ago although I haven't read it. I believe it covers many advanced topics as well (not just a tutorial). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] Making sure a post request came from your site

2002-04-05 Thread Erik Price
Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL - UPDATE INSERT

2002-04-05 Thread Erik Price
things out on a small scale, then DROP TABLE when you're done playing. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arrays within classes

2002-04-05 Thread Erik Price
expect. Can anyone tell me why that is? Thanks Brian [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] clarification on magic quotes

2002-04-04 Thread Erik Price
it into the DB. This would defeat the purpose, but otherwise I end up with columns with values like Mike\'s Pleasure Hut or Jean D\'Arc, and this will make queries tricky in the future. Thank you for your advice. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL

Re: [PHP] clarification on magic quotes

2002-04-04 Thread Erik Price
think I'll go through and put addslashes() around any database insert scripts I have and turn it off. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reliability of sessions

2002-04-04 Thread Erik Price
On Thursday, April 4, 2002, at 04:40 PM, Thomas Deliduka wrote: I have a quick question for a veteren of sessions out there. I'd trust sessions with my life. Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] objects handling objects

2002-04-04 Thread Erik Price
? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Warning: Undefined variable

2002-04-04 Thread Erik Price
Good to hear from you again David, On Wednesday, April 3, 2002, at 06:28 AM, DL Neil wrote: If they are one and the same machine/server, then use 'debug' code to reset options at the beginning of dev code (and remove it when the routine is 'promoted' to prod). Excellent idea. E_ALL for

Re: [PHP] syntax for date math expressions

2002-04-03 Thread Erik Price
(and I like what I can do with a timestamp in the date() function) so I have been using VARCHAR(20) to hold the date as a string. MySQL's TIMESTAMP is not the same thing as PHP's. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] syntax for date math expressions

2002-04-03 Thread Erik Price
transform all of my dates into Unix timestamps so that I can pass them around in form fields etc, but MySQL's timestamp format is different. Is there some way to call something like UNIX_TO_MYSQL_TIMESTAMP() in MySQL (or PHP)? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL

Re: [PHP] Warning: Undefined variable

2002-04-02 Thread Erik Price
not require declaration of variables. At least that's what people say when they praise PHP or Python or whichever language allows this. Is this feature not as desirable as what I had first heard? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General

Re: [PHP] date expressions

2002-04-02 Thread Erik Price
usage in PHP. http://www.devshed.com/Server_Side/PHP/DateTime Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: preventing back button usage?

2002-04-02 Thread Erik Price
or submit a form, because they will be returning to a page in their history.) Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: preventing back button usage?

2002-04-02 Thread Erik Price
, and JavaScript to disable the back button (unethical as it may be). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: SV: SV: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Erik Price
button, like: form method=post action=?php echo $_SERVER['PHP_SELF']; ? select name=change option value=incIncrease Size/option option value=decDecrease Size/option /select /form This would keep your querystring/URL free of extra data like page.php?change=inc. Erik Erik Price Web

Re: [PHP] Connecting to a DB using PHP and mysql...

2002-04-02 Thread Erik Price
On Tuesday, April 2, 2002, at 10:40 AM, Rick Emery wrote: have permissions been granted to contacts in mysql using that combination of username and password? And from that host? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General

Re: [PHP] April fools day - did anyone notice Thies's fangs on rc1???

2002-04-02 Thread Erik Price
that he was gone again today! Try setting your server's system date back to yesterday, as in Pencils, I thought? I didn't know who that was. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] global vars within 2-level functions

2002-04-02 Thread Erik Price
legitimate. Thank you, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] global vars within 2-level functions

2002-04-02 Thread Erik Price
that passing a blank argument would achieve this effect. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Warning: Undefined variable

2002-04-02 Thread Erik Price
of it is that, as a novice programmer, I'd like to make sure I'm writing the most legitimate code that I can. Thanks for any input on this thread, past or future. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] session

2002-04-02 Thread Erik Price
['fubar1'] = 'Remko'; $_SESSION['fubar2'] = 'Lindeman'; $_SESSION['fubar3'] = 'I3M1I'; // (put rest of code here) ? If you're using PHP 4.0.x or lower, then nevermind, this won't help you. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] Processing Code created on the fly

2002-04-01 Thread Erik Price
to simple text or HTML. That's what makes it different from just echoing back the text. So you could do $print_statement = print('test');; eval($print_statement); // the output is test, not print('test'); I just learned this function myself. HTH, Erik Erik Price Web Developer Temp

Re: [PHP] Sql results

2002-04-01 Thread Erik Price
returning an empty set. Try if (!$Sql_Query_Login) { echo query failed; } else { if ($sql_Query_Login == ) { echo empty result set; } else { // do what you want with the results } } Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED

Re: [PHP] register_globals

2002-04-01 Thread Erik Price
this a read first, then come back if you still have questions ;) http://www.securereality.com.au/studyinscarlet.txt Kirk Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] ask for suggestion about printing

2002-04-01 Thread Erik Price
process to create HTML for the online version and another XSLT process to create a file in any other format to create the print version. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] IMPORTANT question for anyone using XSLT

2002-04-01 Thread Erik Price
On Friday, March 29, 2002, at 01:56 PM, Erik Price wrote: My, there have been a lot of questions about XSLT in the past 24 hrs... admittedly most of them coming from me. In addition to my first question (repeated below for clarity), I have a second one -- how do I perform an XSLT

Re: [PHP] Please help with code

2002-04-01 Thread Erik Price
want). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header() question

2002-04-01 Thread Erik Price
/testpage.php#topofpage'); HTH, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] return

2002-04-01 Thread Erik Price
it is. Try your above code -- it shouldn't work. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header() question

2002-04-01 Thread Erik Price
now I remember is not the case). Sorry for the completely inappropriate suggestion. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
; } This saves you a ton of typing and even makes your code look better. HTH, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
Shoot, kind of an important error I made in the code I gave you earlier -- the closing quote for $xml_document should be a single-quote, not a double-quote as I wrote. Sorry, Erik On Monday, April 1, 2002, at 04:26 PM, Erik Price wrote: Still, you want some advice? First, your SQL code

Re: [PHP] RE: PHP/MySQL/XML

2002-04-01 Thread Erik Price
if this is NOT true. So the if statement above simply says if the value held by $ext is not empty, write three tabs + ext + $ext + /ext to the file pointed to by $phone_list. The rest of your code looks good (closing the element tags and the file pointer). HTH, Erik Erik Price Web

Re: [PHP] class instance name

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 06:24 PM, Nate wrote: How do you determine the class instance name from within the class? Isn't it $this ? Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Database-Driven Web Site.

2002-03-29 Thread Erik Price
, you're best off reading one of these books and then asking here for help on specific questions. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and XML/XLST/WDDX etc

2002-03-29 Thread Erik Price
management was a good idea?) Anyway, best of luck to you -- let me know if you find a community dedicated to this very topic, since I'd like to focus on it a bit more. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] a CNN headline news grabber

2002-03-28 Thread Erik Price
would use that rather than try to grab their HTML page and parse it. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XSLT; XML = PHP code

2002-03-28 Thread Erik Price
, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XSLT; XML = PHP code

2002-03-28 Thread Erik Price
?) Thanks again Darren, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] best way to read a file

2002-03-28 Thread Erik Price
the file's contents in a variable (for later actions to be performed on/with this variable). Thank you. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] best way to read a file

2002-03-28 Thread Erik Price
I would run out of memory b/c I have php.ini set to 16M per script and the XSL file is only 8kB, though the script does do a lot of things.) Anybody know what's going on here? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] best way to read a file

2002-03-28 Thread Erik Price
get this error when attempting a successful xslt_process(). (I know that it is successful because I am testing its success in the script.) Thanks, bvr. I'll continue to bug test. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing

[PHP] tough XSLT question

2002-03-28 Thread Erik Price
know how I can use HTML tags in my PHP code in my XSLT document? (sorry, entities doesn't work either) TIA and have a good weekend, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] xslt_set_sax_handlers

2002-03-27 Thread Erik Price
), why not just use xslt_process() ? This function does just about everything you need done in an XSLT transformation. What are you trying to do? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: OT Re: [PHP] Re: which php book 2 buy ?

2002-03-27 Thread Erik Price
. Trust me, you don't want to know the sordid details... Thanks -- strange! (I'll give up trying to organize my bookshelf by spine-design :) Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] escaping PHP's closing tags

2002-03-27 Thread Erik Price
. There is no reference to escaping the ? tag on the man page (currently) that I could find, or in the annotations. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

<    1   2   3   4   5   6   7   >