[PHP] passing large quantities of form data

2002-03-06 Thread Erik Price
statement. Does it make any sense? 2) is this a lot of extra work, and I'd be better served by just taking each variable and putting it into its own hidden form field? Thanks! And remember, your answer is for posterity, so please try to be honest. -- the Six-Fingered Man Erik Erik

Re: [PHP] Re: Value of $_* variables

2002-03-06 Thread Erik Price
variable. 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] Difficulty on how to extract data out of a text with string functions.

2002-03-06 Thread Erik Price
with little trouble -- check out www.perlmonks.org. (Sorry, but I am far from a Perl guru.) 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] Parsing Content

2002-03-05 Thread Erik Price
do it? This topic is a current front page headline at Developer Shed (www.devshed.com). Here is the link to the tutorial on this very topic: http://www.devshed.com/Server_Side/PHP/PHPRDF/page1.html You get to teach yourself a bit about XML along the way. Erik Erik Price Web

Re: [PHP] mktime() into TIMESTAMP ?

2002-03-05 Thread Erik Price
plan to do searches based on date at times. 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] Can I authenicate user with the accounts in passwd and shadow??

2002-03-05 Thread Erik Price
. http://www.onlamp.com/pub/a/php/2001/07/26/encrypt.html 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] live Counter

2002-03-05 Thread Erik Price
to the server when the user closes a browser window or quits or whatever. Even that would not be very reliable. 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] registering a session variable from a select statment.

2002-03-05 Thread Erik Price
are SELECTing from your query, and do the same thing with this as you did with the other two session variables. 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] ?include?... another dumb question

2002-03-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] serialize

2002-03-05 Thread Erik Price
that you want a literal 'buck i'). 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] Help about Linux password change script

2002-03-05 Thread Erik Price
hope someone can help me. Thanks. Try system() http://www.php.net/manual/en/function.system.php 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] REQUEST QUESTION

2002-03-05 Thread Erik Price
somename.php. How do i do that. First tell us how you can tell the two variables apart. 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] Verify script location...

2002-03-05 Thread Erik Price
(of the main script) to a temporary variable for checking in the included script. -Kevin Or set an Apache directive (in httpd.conf or .htaccess) that prevents any .inc files from being served by the server. I'm assuming you're using apache. Erik Erik Price Web Developer Temp Media Lab

[PHP] sprintf precision modifiers

2002-03-05 Thread Erik Price
this is old hat, but for those of us who are just getting our feet wet in programming, there should be a more exhaustive reference as to what can be done... is there any such reference? Thanks, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP

Re: [PHP] Parsing Content

2002-03-05 Thread Erik Price
of how something works and maybe try it out. Good luck with your RDF stuff, 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] Is there a GoTo Page Function?

2002-03-05 Thread Erik Price
. (Right now I'm working on a 700-line monster that doesn't even include any HTML!) 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: OOP .. I just don't get it.

2002-03-05 Thread Erik Price
in frustration and I gave up, going back to functions. I'm also not very intelligent, and working with classes and objects requires the programmer to be able to abstract their data in a way that I haven't yet learned to do. Sigh... someday. Erik Erik Price Web Developer Temp Media Lab, H.H

Re: [PHP] Is there a GoTo Page Function?

2002-03-05 Thread Erik Price
of numbers instead of a name), this will come in handy so that you can save the user's legitimate values but ask them to re-enter their invalid values. That gets kind of technical, but it's one of the sweet things about functions, that they are reuseable. Erik Erik Price Web Developer

Re: [PHP] CheckBoxes....

2002-03-04 Thread Erik Price
it's not something that cause problems if it were to be supported. Kind of lame that it's not, actually. Until then, I'll keep using them (brackets) b/c there's some things that it seems I can't do without this technique, but it would be nice Erik Erik Price Web Developer Temp Media

Re: [PHP] ID variable alsways set

2002-03-04 Thread Erik Price
and look at them this way, but I could format the cookie list/contents better with a script, and it wouldn't require me clicking all over my preferences (I have a lot of cookies too). Just a thought. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General

Re: [PHP] keeping the dot

2002-03-04 Thread Erik Price
was being used inside of a character class -- and that it does not need to be escaped when it is inside of a character class (wouldn't make sense for match any character to exist inside a character class). [^A-Za-z0-9\.] Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL

Re: [PHP] CheckBoxes....

2002-03-04 Thread Erik Price
worth bringing up in case it makes it into the next version. Too many mailing lists already! :) I will look into making a suggestion to the W3, however. Thanks for your reply (just curious if this had already been dealt with yet). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] keeping the dot

2002-03-04 Thread Erik Price
On Monday, March 4, 2002, at 10:50 AM, Erik Price wrote: I thought that in this example (in this thread) the dot was being used inside of a character class -- and that it does not need to be escaped when it is inside of a character class (wouldn't make sense for match any character

Re: [PHP] MySQL Query

2002-03-04 Thread Erik Price
this information in a hundred other places: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html After you have it figured out, you can use the PHP manual pages function-hunter to learn all of the many mysql functions that PHP offers. Erik Erik Price Web

Re: [PHP] MySQL Query

2002-03-04 Thread Erik Price
(personal opinion). It's not that hard to pick up, though, once you've gotten started. Still, I think it makes alot more sense to do so since it helps the new user remember that variable $x is actually in the $_GET array for example. Erik Price Web Developer Temp Media Lab, H.H. Brown

[PHP] mktime() into TIMESTAMP ?

2002-03-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

[PHP] user input in HTML

2002-03-01 Thread Erik Price
or be efficient. 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] preg_replace() ??

2002-03-01 Thread Erik Price
to replace certain predefined strings with other strings, then you should use substr() it's faster. 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] Pros/Cons over PHP_SELF vs script

2002-03-01 Thread Erik Price
.) Hope that helps, please discuss if I am off base in any of 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] preg_replace() ??

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 10:34 AM, Erik Price wrote: On Thursday, February 28, 2002, at 10:33 PM, Monty wrote: Is preg_replace() the best PHP command to use for parsing custom codes in text retrieved from a database (e.g., turning [link= ] into a href= )? Use preg only if you

[PHP] get the median from an array of integers

2002-03-01 Thread Erik Price
enter all the values into an array and run some kind of averaging code on them, but the problem is that I don't want an average, I need the most-chosen value. Thanks if you have any advice. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General

Re: [PHP] empty() texarea

2002-03-01 Thread Erik Price
// perform whatever code you need to on that } 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] Re: get the median from an array of integers

2002-03-01 Thread Erik Price
what I'm talking about? 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] Variables that can't be set by query string

2002-03-01 Thread Erik Price
programmed to only check the $_SESSION array for the presence of true=1 (i.e. : if ($_SESSION['true'] == 1) etc). Thus any extraneous GET variables just bounce off your script, having no effect unless the script specifically looks for $_GET['true'] or something. Erik Erik Price Web

Re: [PHP] Variables containing HTML?

2002-02-28 Thread Erik Price
/) 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/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] elseif without else

2002-02-28 Thread Erik Price
a variable, and later in the script if that variable exists then something else happens. Is this sloppy? 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] Variables containing HTML?

2002-02-28 Thread Erik Price
, consider encode('blah'); it returns '098108097104' now consider which of the two output strings you end up having to escape special characters for... :) -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 1:41 PM To: Demitrious S. Kelly

Re: [PHP] elseif without else

2002-02-28 Thread Erik Price
On Thursday, February 28, 2002, at 07:56 PM, Dennis Moore wrote: Perfectly legitimate... it is much like having a switch statement without a default clause. Oh, I didn't know that that was legitimate either. :) Thanks Dennis Erik Erik Price Web Developer Temp Media Lab, H.H

[PHP] is there an in qualifier in PHP?

2002-02-26 Thread Erik Price
for the next iteration of the fetched $row } ? 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] Valid characters for filenames. List available?

2002-02-26 Thread Erik Price
. This is just my opinion, but I'm sure others will agree. 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] changing the http status from file not found to....

2002-02-26 Thread Erik Price
into the database... The secret to this is at phpbuilder -- you need access to your server I think http://www.phpbuilder.com/columns/tim2526.php3 Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] when to use htmlspecialchars()

2002-02-25 Thread Erik Price
to make sure that doing so won't expose me to any risks that I haven't considered. Please give me your thoughts on 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

[PHP] encryption and HTTP

2002-02-23 Thread Erik Price
['password'] once it gets to the script, because anyone can submit the same intercepted string to the script via POST and it will be md5()ed when it gets there, thus defeating the purpose. Maybe I haven't quite wrapped my brain around a decent authentication scheme yet. Erik Erik Price Web

Re: [PHP] using PHP to access another site - stock quotes ??

2002-02-23 Thread Erik Price
-- 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/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] adding 'vote' mechanism

2002-02-23 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] Weather Scripts

2002-02-20 Thread Erik Price
, at xml.com, and I'm sure that after reading this you'll be better-prepared to search for scripts that do this for you. http://www.xml.com/pub/a/1999/08/rpc/ Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Removing every thing between ( )

2002-02-20 Thread Erik Price
, $string); That will leave your string looking like This is a () and (). 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] Which Portal System?

2002-02-20 Thread Erik Price
has used any of the ones I'm looking at before I take the time to set it up and it turns out to be a bust. Here are the ones I've downloaded. All of which require PHP and MySQL. Let me know if there are any I should stay away from or any that are worth using. Erik Price Web

Re: [PHP] Apache+PHP+DSO: maybe trivial (?): apxs doesn't create libphp4.so under AIX 4.3.3

2002-02-19 Thread Erik Price
worked for many people (and I didn't write em so I don't deserve any credit). Thank you Nathan for helping me when I had this prob. 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] Looking for good tutorial on Sessions

2002-02-19 Thread Erik Price
. Erik PS: 5) when you have specific questions ask the list 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] Sessions that last for ever

2002-02-18 Thread Erik Price
that they are who their cookie says they are, or skip that and deal with the fact that some people may change their cookie to be the name of their opponent so that they can play as another character. Sounds like a cool site, good luck Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL

Re: [PHP] Re: building dynamic pdf files?

2002-02-18 Thread Erik Price
. I'm also pretty sure that it's somewhere between $800 and $1100 for a one-license desktop copy! 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] What Do You Think?

2002-02-18 Thread Erik Price
On Monday, February 18, 2002, at 07:01 AM, Ford, Mike [LSS] wrote: -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: 15 February 2002 19:52 Not only can I hardly find a place with Tetley's on tap, I can hardly find it in stores! LOVE Tetley's. Er -- should

Re: [PHP] Unsubscribe s.osborne

2002-02-18 Thread Erik Price
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- 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

Re: [PHP] http_referer

2002-02-18 Thread Erik Price
In PHP4.1 or later, try: echo $_SERVER['HTTP_REFERER']; 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] get_browser();

2002-02-18 Thread Erik Price
depends on the user-agent -- you're not guaranteed to get any information, as some user-agents handle headers in nonconformant ways. 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] ereg_replace

2002-02-18 Thread Erik Price
to play with it.) $text = http://www.domain.com/directory/images/image.jpg; preg_replace((http://[^\s]+[-a-zA-Z0-9_/.]+\.(gif|jpg|jpeg)$), img src=\\1\ /, $text); HTH Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] NULL Apache environment variables

2002-02-18 Thread Erik Price
In the 4.1.1 release announcement, it doesn't say that anything about this has changed. I'm not trying to contradict you Torben, but if this is true then it is not documented in the news at the web site. Please correct me. - Erik Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] PHP_SELF Undefined

2002-02-18 Thread Erik Price
$PHP_SELF = $_SERVER['PHP_SELF']; $form_block = form method=\post\ action=\$PHP_SELF\; 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] NULL Apache environment variables

2002-02-18 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] PHP_SELF Undefined

2002-02-18 Thread Erik Price
on this list. (I was trying to include mysql_fetch_array elements in print statements and didn't want to transfer the value to a scalar beforehand, or something! :) Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] Browser Sniff (Code Review Encouraged)

2002-02-18 Thread Erik Price
://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/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Logging Users In - What is the Best Way

2002-02-18 Thread Erik Price
who can come up with more. Just think about the logical HTTP exchange and where data might accidentally leak out, and you'll probably cover most of your bases. Erik PS: I'm assuming that SSL is beyond the scope of your application. Otherwise, consider it. Erik Price Web Developer

Re: [PHP] Sessions that last for ever

2002-02-16 Thread Erik Price
with the HTTP headers. Keeping a session going for more time than needed means that the variable representing the session ID is leaving footprints all over the place. Erik -- who has become overcautious lately upon learning how HTTP works Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] scheduled tasks

2002-02-16 Thread Erik Price
it probably won't work, but the theory is there. Also, be sure to take into account the security issues of having a file writeable by your web server -- I'm assuming you already have experience with this. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP

Re: [PHP] good practice

2002-02-15 Thread Erik Price
that specifically prevents it from serving any file with the extension '.inc'. 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] fopen

2002-02-15 Thread Erik Price
about working with files in 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] good practice

2002-02-15 Thread Erik Price
, I thought that I was better off using a separate extension than '.php': so that the code cannot be executed out of context. I got this idea from a post by Rasmus Lerdorf on this very list, only a month ago. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED

Re: [PHP] good practice

2002-02-15 Thread Erik Price
~ \.inc$ Order allow,deny Deny from all /Files If you look under the archives, you will find the thread where I was the one who thought that parsing .inc was a good idea, and someone explained this very subject to -me-. :) (I think it was Mike Cullerton) Erik Erik Price Web

[PHP] s.osborne, are you out there?

2002-02-15 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] Anyway to open a PHP file and view its code in the browser?

2002-02-15 Thread Erik Price
, Erik -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 8:41 AM To: Kevin Stone Subject: Re: [PHP] Anyway to open a PHP file and view its code in the browser? On Thursday, February 14, 2002, at 05:44 PM, Kevin Stone wrote: I did a net

Re: [PHP] Re: The ASP application object in PHP?

2002-02-15 Thread Erik Price
much to justify why I chose PHP (the real reason is a matter of ethics ;). I would love to have had your explanation of ASP's application object vs PHP's lack of an application object when I wrote that. I'm saving this post. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] What Do You Think?

2002-02-15 Thread Erik Price
! LOVE Tetley's. 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] how a function 'return' statement works

2002-02-14 Thread Erik Price
in the array. 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] trouble with headers

2002-02-14 Thread Erik Price
On Wednesday, February 13, 2002, at 05:18 PM, Rick Emery wrote: Next time you go to the PHP Manual (dated 19-09-2001) for answers, go to the title page and count down 5 names... dopeSlap target=self / Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED

Re: [PHP] Authentication with sessions - Recommendation and suggestions?

2002-02-14 Thread Erik Price
similar to yours. I think you should turn register_globals off if you really want security. PHP 4.1.0 has some neat shortcuts to make your life easier if you do this. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] What are you using for please wait?

2002-02-14 Thread Erik Price
On Thursday, February 14, 2002, at 09:39 AM, [EMAIL PROTECTED] wrote: and the I am not giving the user any indication as to what is going on. Distract the user with a flash animation (say, a status bar or something) stored in cache on prior page. ;) Erik Erik Price Web

Re: [PHP] how a function 'return' statement works

2002-02-14 Thread Erik Price
On Thursday, February 14, 2002, at 10:46 AM, Alastair Battrick wrote: Do you not have to make $_SERVER a global variable in the function ? $_SERVER is global AFAIK, but good thinking. All $_* variables are global (unlike the $HTTP_*_VARS arrays). Erik Erik Price Web Developer

Re: [PHP] how a function 'return' statement works

2002-02-14 Thread Erik Price
= $_SERVER['PHP_SELF']; $current_page_name = explode(/, $current_page); $pagename = array_slice($current_page_name, -1, 1); return $pagename[0]; } Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Erik Price
.= readfile($fp); $text .= */; To comment the code? Just a guess. (And it would result in nested comments, not sure if that is a no-no for the parser or not). Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Erik Price
doing? Trying to send the errorpage.php a variable in the querystring to identify which page sent them there. I'd like to avoid HTTP_REFERER for now, if possible. But when I get sent to errorpage.php, there is no querystring at all. Thanks, Erik Erik Price Web Developer Temp Media

Re: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Erik Price
a loose end. Back to the subject at hand, I am sorry to report that header() is not passing along the querystring. 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] trouble with headers

2002-02-13 Thread Erik Price
, and IE 6 Windows... and I have to say that IE 5.1 Mac renders it in the correct way, not version 6 as you might expect. (I think.) Browsers tolerate a little -too- much, but I do demand more than I should of HTML authors (I try to only use XHTML Strict). Erik Erik Price Web Developer Temp

Re: [PHP] PHP Work in New York

2002-02-13 Thread Erik Price
seems like a great idea. Also, there is an open-source .NET initiative called Mono, http://www.go-mono.com/ 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] How to POST a HTML-page with the header function

2002-02-13 Thread Erik Price
); // close the file } Sorry about the spacing, you'll have to clean it up in your editor. But I commented the crap out of it so that I'd/you'd understand what was going on. HTH, Erik Erik Price Web Developer Temp

Re: [PHP] Re: Difference between cookie and session

2002-02-13 Thread Erik Price
probably a common worry. 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] Convert a string to an array w/o spliting or exploding

2002-02-13 Thread Erik Price
()', 'explode()'. 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] querystrings passed in header(Location: n) ?

2002-02-13 Thread Erik Price
with you that it is handled as any string. You mean that I am correct? Or that you think I should be correct? (not trying to sound insolent, just trying to nail down what's being said ;) Thanks Rick Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP

Re: [PHP] querystrings passed in header(Location: n) ?

2002-02-13 Thread Erik Price
of string manipulation within a function's arguments? I'm not trying to question you, only to tie up a loose end. Yup, totally. Function call syntax list is like this: Hope this helps, It definitely cleared up quite a bit about how function arguments are interpreted. Thank you. Erik Erik

[PHP] how a function 'return' statement works

2002-02-13 Thread Erik Price
; } (I know this does the same thing as 'basename($_SERVER['PHP_SELF'])', I just want to understand something a bit more fundamental to the way functions work) Thanks, Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] trouble with headers

2002-02-13 Thread Erik Price
are output. I see that as a Good Thing. That means that PHP can do much more than just generate web pages. Thanks for clearing that up Torben. (It seems that whenever I ask a question, you always have the answer.) Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL

Re: [PHP] function not returning TRUE

2002-02-12 Thread Erik Price
words, why did you choose to do it the way you did? 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] How do I send a POST request?

2002-02-12 Thread Erik Price
by the POST variables. In theory. 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_id()

2002-02-12 Thread Erik Price
I actually get .SID and the end and not SID value? any thoughts? 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] getting $PHP_SELF's basename

2002-02-12 Thread Erik Price
wondering if someone already did it for me. 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 Work in New York

2002-02-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] getting $PHP_SELF's basename

2002-02-12 Thread Erik Price
, not really. But it seems that the optional 2nd parameter corrupts the 1st parameter even if it is a predefined variable (which is what I'm doing) -- which could have repercussions for $_SERVER['PHP_SELF'] down the road, right? Erik Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] PHP Work in New York

2002-02-12 Thread Erik Price
that they'd have a good point if it came down to an argument. Much as I'd love to evangelize my open source philosophy and the merits of my Linux/MySQL/PHP installation, it's going to have to wait until I'm done with this project. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown

Re: [PHP] why AddType not working for me as expected?

2002-02-12 Thread Erik Price
as a potential problem. 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 Work in New York

2002-02-12 Thread Erik Price
name, here: the fact is that I suggested this project, explained that it would cost very little money by using PHP/MySQL/Linux, and it was approved. So I'm doing it. I just don't rub it in anyone's face that I don't toe the MS party line. Erik Erik Price Web Developer Temp Media Lab

<    1   2   3   4   5   6   7   >