RE: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Chris W. Parker
Nicole on Monday, February 23, 2004 10:26 AM said: > What I wanted to know I guess was if I use an include and include a > file can I format where that file will display. > > So what I have is a little box with some info in it. I want it to > display to the right o

RE: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Chris W. Parker
Nicole on Monday, February 23, 2004 12:06 PM said: > I'm not having much luck explaining what I want here ... a drawback of > emailing. I know how to include files, I just wanted to include it > in such a way that my body text still wrapped around it. myfile.php: h

RE: [PHP] Finding out the local path to a file.

2004-02-23 Thread Chris W. Parker
Evan Nemerson on Monday, February 23, 2004 4:33 PM said: > dirname($_SERVER['SCRIPT_FILENAME'])? __FILE__ will also do it. chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] To Separate, or Not to Separate

2004-02-23 Thread Chris W. Parker
Monty on Monday, February 23, 2004 2:35 PM said: > I'm wondering if I will see any noticeable speed increase if I were > to split the 20+ fields that hold preferences (nearly all are > single-digit 1/0 fields) out from the other fields that hold general > member data

RE: [PHP] What's wrong with this code please?

2004-02-24 Thread Chris W. Parker
Donpro on Tuesday, February 24, 2004 9:52 AM said: > $emails = > array("[EMAIL PROTECTED]","[EMAIL PROTECTED]",[EMAIL PROTECTED]); > $addresses = explode(",",$emails); for ($i=0; $i < count($addresses); >$i++) { echo $i . ': ' . $addresses[$i] . ''; >if ($i =

RE: [PHP] Re: To Separate, or Not to Separate

2004-02-24 Thread Chris W. Parker
Phillip Jackson on Tuesday, February 24, 2004 11:47 AM said: first of all i'd like to say that my comments below are based upon the way i understand things to be. i could very well be wrong. so someone (phillip) correct me if i'm wrong. > what you describe is called

RE: [PHP] htaccess

2004-02-24 Thread Chris W. Parker
Will on Tuesday, February 24, 2004 2:05 PM said: > What is the proper way to do this and the easiest way. I know how to > write a file to the server, but how do you do the password thing?? what is "the password thing"?? chris. -- PHP General Mailing List (http:

RE: [PHP] htaccess

2004-02-24 Thread Chris W. Parker
Will's Scripts on Tuesday, February 24, 2004 3:54 PM said: > I guess I need the documentation on the htpasswd function. Sorry I am > learning. http://www.google.com/search?q=htpasswd there are lots of pages there. specifically this one: http://www.webdevelopersjou

RE: [PHP] Re: To Separate, or Not to Separate

2004-02-24 Thread Chris W. Parker
Phillip Jackson on Tuesday, February 24, 2004 4:59 PM said: > blah blah blah semantics aside; you know what's interesting though is that communication, or as you call it "semantics" is an important thing. especially when communicating via the written word. so if yo

RE: [PHP] Sequential Random Character Generator

2004-02-25 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, February 25, 2004 8:26 AM said: > I'm trying to create a PHP sequential random character generator that > will output to a file database of some sort. and just to be a hair splitter, you can't be both sequential AND random at the same

RE: [PHP] apostrophe ( ' ) on a form, adding \; How can i fix this?

2004-02-26 Thread Chris W. Parker
as others have mentioned already, it's happening automatically because of the magic quotes feature. use the function stripslashes() to remove the escaping character. $text = "o\'reilly"; $text = stripslashes($text); // $text now equals "o'reilly"; hth, chris. -Original Messa

RE: [PHP] bug in PHP

2004-02-26 Thread Chris W. Parker
Kyle Goetz on Thursday, February 26, 2004 3:06 PM said: > hey so i've been struggling with an apparent bug in and older version > of PHP but i wouldn't know where to look about this bug, as it > concerns the include function and there is no mention of a bug that i >

RE: [PHP] List files in a dir

2004-02-27 Thread Chris W. Parker
Shaun on Friday, February 27, 2004 10:14 AM said: > is it possible to have a file that lists all of the files in the > current so that users can download them - this would be useful > for a collection of images I have? yes. look up the file system functions in the m

RE: [PHP] arrays and sessions

2004-02-27 Thread Chris W. Parker
Kermit Short on Friday, February 27, 2004 1:47 PM said: > A second form will contain an action that > sends the sql code for creating the table to the database server, and > viola, I've got myself a new table. i prefer the violin, but viola's are cool too. ;) > If

RE: [PHP] arrays and sessions

2004-02-27 Thread Chris W. Parker
Kermit Short on Friday, February 27, 2004 2:10 PM said: > I've got some code and it simply isn't working. I thought it might be > because each time the form submits data, the array I'm storing > information in is being re-initialized. If this is the case, I don't >

RE: [PHP] need form array help

2004-03-01 Thread Chris W. Parker
Brian V Bonini on Monday, March 01, 2004 11:00 AM said: > while ($result = mysql_fetch_array($dbresult_riderlist)) { > print('' . "\n"); > print(" $result["rider_id"] . '" />' . "\n"); > print(" $result["rider_name"] . '" size="15" />' . "\n"); > print(" value=\"" .

RE: [PHP] need form array help

2004-03-01 Thread Chris W. Parker
Chris W. Parker <> on Monday, March 01, 2004 11:14 AM said: > i think i see some code in that jungle. allow me to clean it up a bit! > > while ($result = mysql_fetch_array($dbresult_riderlist)) { > echo << > > value="{$result['rider_id&

RE: [PHP] need form array help

2004-03-01 Thread Chris W. Parker
Brian V Bonini on Monday, March 01, 2004 11:45 AM said: > That make sense except the rendered form is to the effect of: [snip] ok i see... so you want to account for the possibility that each rider might have a different state? said differently, you don't want all

RE: [PHP] Re: why use safe mode?

2004-03-02 Thread Chris W. Parker
Chris Shiflett on Tuesday, March 02, 2004 3:25 PM said: > While I'm an ethical person and would never do anything malicious, I > don't trust everyone else to do the same. I personally feel that it is > irresponsible for Web hosts to have safe_mode disabled. why even

RE: [PHP] pop-up windows with a include

2004-03-02 Thread Chris W. Parker
Andre on Tuesday, March 02, 2004 3:23 PM said: > Hello hi. > I need to open one pop-up windows with a include > For example... > > > include("teste.php"); > > ?> > I need de window teste.php show in po-up . php is a server side technology. what you are

RE: [PHP] resubmitting $POST data to another script

2004-03-02 Thread Chris W. Parker
Chris Shiflett on Tuesday, March 02, 2004 3:56 PM said: > It loses all new data: [snip] > The method is fine, but it's no simpler than the other person's > suggestion when this specific scenario is considered. More logic is > necessary to prevent the loss of data.

RE: [PHP] Re: why use safe mode?

2004-03-03 Thread Chris W. Parker
DAvid Jackson on Wednesday, March 03, 2004 11:20 AM said: >> TIA, >> David > Please read for content... and excuse the crapping spelling > > DJJ ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] HELP! printing Arrays

2004-03-03 Thread Chris W. Parker
Labunski on Wednesday, March 03, 2004 3:31 PM said: > Hello, > > // This will print first and sixth line from the text file: > $file = file("people.txt"); > print "$file[0]"; > print "$file[6]"; actually that will print the first and seventh line of the file...

RE: [PHP] server side redirects

2004-03-03 Thread Chris W. Parker
matthew oatham on Wednesday, March 03, 2004 4:25 PM said: > is there a more elegant way to deal with my > situation? Is this method supported by all browsers etc.. 1. don't output anything before a redirect. i figure, if a redirect is going to happen there's really

RE: [PHP] Re: server side redirects

2004-03-03 Thread Chris W. Parker
matthew oatham on Wednesday, March 03, 2004 5:05 PM said: > Unfortunately I include the session_start(); method in the file > header.php (because I am checking for a value here to determine > whether to show a logout button or not) therefore I cant do the [snip] r

RE: [PHP] passing parameters to include

2004-03-04 Thread Chris W. Parker
Bob Lockie on Thursday, March 04, 2004 10:53 AM said: > I want to pass a parameter to an include file. ok. go ahead, you have my permission. > I know I can do what I want with a function but I'd rather do it with > an include. thanks for sharing. i know some peopl

RE: [PHP] How to convert Function into the variable?

2004-03-04 Thread Chris W. Parker
Labunski on Thursday, March 04, 2004 12:46 PM said: > Hi, I need to convert the script below into the variable " $content ". > How to do this? > I need this because I want to have an output of this function > anywhere where the $content is. i think you want the foll

RE: [PHP] Shopping Carts

2004-03-05 Thread Chris W. Parker
John Nichel on Thursday, March 04, 2004 9:14 PM said: > osCommerce (http://www.oscommerce.com)- Boss likes this one, but I > have issues with it's possible security bugs, and the overall design > (lack of) of the code i'd like to put another voice in the just-say-no

RE: [PHP] undefined index -------- please help !!!!!!!!

2004-03-05 Thread Chris W. Parker
Dominique ANOKRE on Friday, March 05, 2004 12:19 PM said: > Undefined index: numcpte in c:\inetpub\wwwroot\rech_haut.php on line > 66 > > For information, i have not this error when the file recherche.php is > a simple file without frames !!! > > Please help!! w

RE: [PHP] re-creating a variable name

2004-03-05 Thread Chris W. Parker
Cory Berry on Friday, March 05, 2004 11:29 AM said: > Hello, I'm having difficulty dynamically creating a variable name for > mysql_query. [snip] > It doesn't execute. > Can someone tell me what I'm doing wrong. Any help would be greatly > appreciated. ?? i ha

RE: [PHP] re-creating a variable name

2004-03-05 Thread Chris W. Parker
Cory Berry on Friday, March 05, 2004 12:45 PM said: > $query = "Update table SET StartDate='$FormStartDate.=$i ' where > id=$i"; that doesn't really make sense. using the following values: $FormStartDate = "x"; $i = "y"; the output would be: "UPDATE table SET St

RE: [PHP] Need Help in shoppin cart

2004-03-08 Thread Chris W. Parker
New Session on Thursday, February 22, 2001 2:58 AM said: > Sir, > I am a web developer, I had made many sites like shooping cart, > mangement leads etc. you *had* made? what happened to them? did they walk away or something? > Iam comfortable in PHP as well as in

RE: [PHP] Re: Shopping Carts

2004-03-09 Thread Chris W. Parker
Justin Patrin on Tuesday, March 09, 2004 9:58 AM said: > Of course, we also needed ONLY a cart, not a storefront. If > you need a storefront as well, there should be *something* > out there that does what you want. i assumed those two things were the same, what's th

RE: [PHP] Warning: Cannot modify header information - headers already sent by (output sta

2004-03-09 Thread Chris W. Parker
Mike Mapsnac on Tuesday, March 09, 2004 5:42 PM said: > This code below gives me this error message: > Warning: Cannot modify header information - headers already sent by > (output started at /var/www/html/account.php:6) in > /var/www/html/account.php on line 17 > >

RE: [PHP] SQL in the database..little help please

2004-03-09 Thread Chris W. Parker
Ryan A on Tuesday, March 09, 2004 5:24 PM said: > I did that but when I checked in the DB I couldnt find the O/'reilly > as it saves it normally as "O'reilly". fyi, escaping is done with a \ and not a /. chris. -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Warning: Cannot modify header information - headers already sent by (o

2004-03-10 Thread Chris W. Parker
Mike Mapsnac on Wednesday, March 10, 2004 4:31 AM said: > Thank for your help .. no problem. > One more question: > I include header to the acount.php page. And it gives the same error, > but in this situation I don't have any outputs. yes you are. here is why: -

RE: [PHP] new to php question

2004-03-10 Thread Chris W. Parker
Luke Brindley on Wednesday, March 10, 2004 10:37 AM said: > Specifically, I want to create an online form that the > booking agent can fill out with information like Date, Time, Cover > Charge, Band Name, Description, etc and have this data populate the > calendar pa

RE: [PHP] get_browser() - browscap.ini for Linux

2004-03-10 Thread Chris W. Parker
Shaunak Kashyap on Wednesday, March 10, 2004 11:21 AM said: > I am running Apache 1.3.29 on a Linux platform. I am trying to use > PHP's get_browser function which needs a file called browscap.ini on > the server. It *seems* that there is no such file available for L

RE: [PHP] arrays, loops, vars and props

2004-03-10 Thread Chris W. Parker
Jason Davidson on Wednesday, March 10, 2004 12:25 AM said: > would the following example be faster or slower had i simply done > $this->myArray[$i] = $i; > > class MyClass { > var $myArray = array(); > > function MyClass() { > $myTempArray = array();

RE: [PHP] arrays, loops, vars and props

2004-03-10 Thread Chris W. Parker
Luis Mirabal on Wednesday, March 10, 2004 12:30 PM said: > i would do it this way > > function MyClass() > { > $this->myArray = range(0, 99); > } guys (luis), guys (mike), let's not try to one-up each other... ... ... but i would take it a step further. :P

RE: [PHP] Re: ASP to PHP language problems

2004-03-10 Thread Chris W. Parker
Alistair Hayward on Wednesday, March 10, 2004 2:46 PM said: > This is what I get when I try to create the recordset > > Notice: Use of undefined constant DBlink - assumed 'DBlink' in > D:\Development\Completed\Sealhouse\phpSealTest\ProductSpecs.php on > line 24

RE: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread Chris W. Parker
J J on Wednesday, March 10, 2004 3:46 PM said: > Any ideas? Thank you in advance! does it all have to be in the same field? can you not just combine two fields? one field would be called 'id' and it would be auto-incrementing. second field would be 'state' and it w

RE: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread Chris W. Parker
J J on Wednesday, March 10, 2004 4:03 PM said: > I'd like to keep it in one field if possible since > that's how their database is now and data will be > going back and forth. [snip] > So any state with more than one record can be > sequential and not jump around l

RE: [PHP] Unique ID system - need help/ideas

2004-03-10 Thread Chris W. Parker
J J on Wednesday, March 10, 2004 4:22 PM said: > Will it be able to figure out what the last number is > if it's a character type and the number is something > like 3? So it'll add one to make it 4 and not > something like 10003. php knows. you'll just have

RE: [PHP] How to mesure response time of php pages

2004-03-10 Thread Chris W. Parker
Merlin on Wednesday, March 10, 2004 5:05 PM said: > can anybody recommend tools to messure page loading time of php pages. > I am working on a new site and it apears to me that the old one loads > much faster. Are there any tools around to break this down to hard > n

RE: [PHP] OT Kinda - Top Posting

2004-03-11 Thread Chris W. Parker
Jay Blanchard on Thursday, March 11, 2004 7:20 AM said: > Can you all > please stop top posting? It makes the posts harder to follow. Please > break the habit right now. i agree. and for those of you that would like to stop top posting and you also use outlook, ther

RE: [PHP] Regex help

2004-03-15 Thread Chris W. Parker
Ryan A on Monday, March 15, 2004 9:07 AM said: > I know this is pretty easy to do but I am horrorable at working with > regular expressions and was wondering if anybody might take a min to > help please. in that case you should get the regex coach (easy to find via

RE: [PHP] e - comerce website

2004-03-16 Thread Chris W. Parker
[EMAIL PROTECTED] on Monday, March 15, 2004 6:08 PM said: > Hai.. hi. > I have a homework from my scholl. We must make a simple website of e > - comerce use php. I just still confuse to use the session in this > work. And I must make a different page for a administ

RE: [PHP] Efficieny: Include vs Array vs Function

2004-03-16 Thread Chris W. Parker
Rob Paxon on Monday, March 15, 2004 9:24 PM said: > Bear with me while I dish out some details. My question concerns the > efficiency of using multiple file includes versus storing segments of > data in one include as arrays or functions. have you considered the si

RE: [PHP] Array to String conversion error

2004-03-16 Thread Chris W. Parker
Alex Hogan on Tuesday, March 16, 2004 9:48 AM said: > $row = mssql_fetch_array($result); > > $thearray = explode('__', $row); - This is line 40 $row is an entire array. you don't explode an entire array, you only explode the contents of an e

RE: [PHP] array $_POST problem

2004-03-16 Thread Chris W. Parker
Joey Kelly on Tuesday, March 16, 2004 10:17 AM said: > The problem I'm having is that the script Im trying to refactor > worked great before I turned register_globals off. The script posts > an array, and I can't seem to figure out how to $_POST the array. the scrip

RE: [PHP]

2004-03-16 Thread Chris W. Parker
James E Hicks III on Tuesday, March 16, 2004 11:08 AM said: > with a frown" size="50"> i came across this same problem recently. http://php.net/htmlentities " becomes " chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

RE: [PHP]

2004-03-16 Thread Chris W. Parker
Vail, Warren on Tuesday, March 16, 2004 11:14 AM said: > work?\", with a > frown" size="50"> escaping does not work. chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re:

2004-03-16 Thread Chris W. Parker
Ligaya Turmelle on Tuesday, March 16, 2004 2:28 PM said: > try the escape character (\). Note the previous question from > "Character question" by David Westbrooks. Posted on 3/13/04. escaping html does not work. note the previous ten+ messages that came through b

RE: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Chris W. Parker
Jake McHenry on Wednesday, March 17, 2004 9:01 AM said: > Does this always work? In my timesheet app, I have to do $counter = > $counter + 1, because for some reason the $counter++; doesn't work. > It just doesn't work, no incrementation of the variable. Is there > s

RE: [PHP] Advanced PHP Programming by George Schlossnagle

2004-03-17 Thread Chris W. Parker
Filip de Waard on Wednesday, March 17, 2004 7:20 AM said: > Hey guys. hi. > I instantly started to read and I'm very happy > with the quality and level of the book. > > Of course I haven't read the complete book yet, but from what I've > read so far this was money

RE: [PHP] PHP vs Algorithm

2004-03-17 Thread Chris W. Parker
Firman Wandayandi on Wednesday, March 17, 2004 12:22 AM said: > I want to make algorithm representation of my code for my homework, > but I have no idea to convert PHP code to algorithm. Can anyone help > me? i think your problem is that you are misunderstanding the

RE: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Chris W. Parker
Shane McBride on Wednesday, March 17, 2004 9:16 AM said: > I am just trying to get the variable to increment, than I will be > working on a session. It's basically being used to keep track of > correct/incorrect answers for an online quiz. and so now that you've cor

RE: [PHP] Help with adding an image to a table row

2004-03-17 Thread Chris W. Parker
Mark on Wednesday, March 17, 2004 9:24 AM said: > Any help would be much appreciated as this is not a php related question and that this is a very basic question it would be most beneficial for you to join a list like thelist from http://evolt.org or webdesign-l (i

RE: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Chris W. Parker
Shane McBride on Wednesday, March 17, 2004 9:40 AM said: > No, the value still is not incrementing. then you must be resetting it unknowingly or the else block in your if..else statement is not being executed like you are expecting it to be. one thing i do to debug

RE: [PHP] Advanced PHP Programming by George Schlossnagle

2004-03-17 Thread Chris W. Parker
Marco Schuler on Wednesday, March 17, 2004 9:18 AM said: > google, or in this case amazon, is your friend: yes i am well aware of google and amazon but i just wanted to get george some extra exposure by getting a link into an email. maybe to the publishers homepage

RE: [PHP] The <<< convension

2004-03-17 Thread Chris W. Parker
noginn on Wednesday, March 17, 2004 1:30 PM said: > I would get this error when running the above script. > > *Notice*: Undefined variable: variable in > *C:\WWW\Apache2\htdocs\php\testprint.php* on line *4* > This uses the "here document" syntax to output multiple

RE: [PHP] The <<< convension

2004-03-17 Thread Chris W. Parker
Chris W. Parker <> on Wednesday, March 17, 2004 1:38 PM said: > it's choking on the $variable you've got in your heredoc text. you've > probably got error reporting turned up so that it coughs on those > kinds of errors. notice it didn't cause your program t

RE: [PHP] Re: Stupid question

2004-03-17 Thread Chris W. Parker
Luis Mirabal <mailto:[EMAIL PROTECTED]> on Wednesday, March 17, 2004 3:18 PM said: > as Chris W. Parker noticed, there is a little mistake in the example > above posted by me, it says: i'd like to thank the academy, my parents, God, my cat, and all of those that voted f

RE: [PHP] Problem to display the results of an exec + rsh command

2004-03-18 Thread Chris W. Parker
Frédéric Martin on Thursday, March 18, 2004 7:31 AM said: > $res = exec("rsh x.x.x.x -l username ping x.x.x.x); > echo " $res "; > > I cannot display the result of the ping made in the remote host. > any idea to fix that? > thank you in advance for your tips ... i

RE: [PHP] Simple: Whats wrong with this?

2004-03-18 Thread Chris W. Parker
Ford, Mike on Thursday, March 18, 2004 5:02 AM said: > Not quite -- the increment is performed immediately after the access > -- in fact, as part of the same operation. So: > > $x = 3; > $y = ($x++ * 2) + $x; > > is likely to give you $y==10, not 9. i see. good example. chris.

RE: [PHP] Re: Global variables in a class? Nested classes VS inheritance...

2004-03-18 Thread Chris W. Parker
>> I make a database connection outside of my classes... lets call it >> $myDBConnection. I need to use this connection in a class nested in a >> class... Was wondering the most efficient way of doing this? I don't >> want to create a new db connection in the class. I want to use the >> existing on

RE: [PHP] too much trimming

2004-03-18 Thread Chris W. Parker
Ivan Sergio Borgonovo on Thursday, March 18, 2004 9:22 AM said: > but I obtain this: > -- begin -- > > hey my name is goofy and > I feel good > -- end -- > > Lines are indented with tabs. > I suspect something related to -w flag, but I haven't been a

RE: [PHP] Parsing recordsets - only first row returned

2004-03-18 Thread Chris W. Parker
Alex Hogan on Thursday, March 18, 2004 10:39 AM said: > Hi All, > > > > I am parsing data returned from a field that looks like this; > > > > 6-8-3-5-10-9-6__7-5-9--etc... > > > > The code below parses out the data they way I want it but only > returns the f

RE: [PHP] Thank you, Microsoft! Now I need an alternate loginmethod

2004-03-18 Thread Chris W. Parker
Adam Voigt on Thursday, March 18, 2004 11:21 AM said: > If I ran XP I might be able to do that. From reading the security > release my MS, it sounds like some times the POST request gets b0rked, > if this is the case, I'm not sure there's much that can be done about

RE: [PHP] Thank you, Microsoft! Now I need an alternate loginmethod

2004-03-18 Thread Chris W. Parker
Chris de Vidal on Thursday, March 18, 2004 12:49 PM said: > I'm about 90% sure that URL strings are passed in the clear to SSL > servers, so this would defeat the purpose of SSL. hmm.. good point. that never occured to me. chris. p.s. gosh my emails are taking f

RE: [PHP] Retain form values...

2004-03-18 Thread Chris W. Parker
Jonathan Villa on Thursday, March 18, 2004 12:01 PM said: > I was thinking of forcing a history.back if possible, but would rather > use some server side code. I tried researching what can be done with > sending headers, but I don't want to use a GET method. I want

RE: [PHP] Retain form values...

2004-03-18 Thread Chris W. Parker
Shane McBride on Thursday, March 18, 2004 2:50 PM said: > How about passing the form variables to a hidden field on the next > page? I used this for several page forms before. that won't work because he's not doing a multi-page form. he just wants to send the form d

RE: [PHP] Retain form values...

2004-03-18 Thread Chris W. Parker
Shane McBride on Thursday, March 18, 2004 3:37 PM said: > Gotcha. I typically use javascript to validate before the form is > posted to validate. ok.. but i don't see how that helps. you're still validating on the server side right? in which case you could still hav

RE: [PHP] E-mail account disabling warning.

2004-03-18 Thread Chris W. Parker
Jeffrey Shaw on Thursday, March 18, 2004 3:20 PM said: > Is there any Php.net official on this list that can shed more light > on this please nothing to shed light on really... (unless i've missed something.) it's not from the people at php.net so your best bet

RE: [PHP] Retain form values...

2004-03-19 Thread Chris W. Parker
John W. Holmes on Thursday, March 18, 2004 7:11 PM said: > Shane McBride wrote: >> Actually all form validation is done before the form action takes >> place, so that way we do not loose input. > > I think you're missing the point. Client side validation is extremel

[PHP] receiving ndr for each email sent to list

2004-03-22 Thread Chris W. Parker
hey everyone, i imagine other people are experiencing this also but i'm receiving the following email every time i send a message to the list. == Subject: Undeliverable: Delivery Report (failure) for [EMAIL PROTECTED] Message: Your message did not reach some or all of the intended recipients.

RE: [PHP] receiving ndr for each email sent to list

2004-03-22 Thread Chris W. Parker
Jay Blanchard on Monday, March 22, 2004 10:51 AM said: > [snip] > i imagine other people are experiencing this also but i'm receiving > the following email every time i send a message to the list. > [/snip] > > ROFL! Sorry Chris...had to laugh. :) hey i like a good

RE: [PHP] receiving ndr for each email sent to list

2004-03-22 Thread Chris W. Parker
Elliot J. Balanza on Monday, March 22, 2004 2:33 PM said: > Actually there is another funny part to it. > The reazon you are getting this is because some of the people on the > list, bounces mail... that is fact, hence you can get all kind of > notifications that the

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Andy B on Monday, March 22, 2004 3:19 PM said: > so the theory is: if i require that the session be named after the > persons login name there is probably 1 out of 2 million chances that > it will mess up the names and get confused (specially if there are > only a fe

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Elliot J. Balanza on Monday, March 22, 2004 3:43 PM said: > What are the chances of two people getting the same session number in > a thousends of day operation? > When you down the size of that to a couple hundeed a day... > > WHy do we need to have a session name

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Andy B on Monday, March 22, 2004 3:43 PM said: > as long as your usernames are unique you should never have a problem. > (assuming everything else works as planned.) > > it should... it will. a unique value is a unique value. > is this code valid?? > if(session_s

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Andy B on Monday, March 22, 2004 3:49 PM said: > because eventually i want to take the user name (session > name/variables/user info) and create a preferences section of the > website im doing and that would require a constant session name from > visit to visit yeah

RE: [PHP] Backup of a MySQL database.

2004-03-22 Thread Chris W. Parker
Elliot J. Balanza on Monday, March 22, 2004 3:05 PM said: > I was looking something more like a MySQL dump class or function... this may not be as robust a solution as you require but can you not simply backtick the mysqldump command from within php? file_$date.du

RE: [PHP] Any Ideas?

2004-03-22 Thread Chris W. Parker
Matthew Oatham on Monday, March 22, 2004 4:56 PM said: > can anyone see any > potential problems such as database problems, i.e duplicate keys, bad > coding practices etc... cheers matt > > if(!empty($_FILES["cr"])) { > $uploaddir = "cr/"; // set this to whereve

RE: [PHP] receiving ndr for each email sent to list

2004-03-22 Thread Chris W. Parker
ok so does anyone know why this is happening (no theories please. unless it's correct. in which case it's ok. :)? is there something a list moderator can do about it? chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] receiving ndr for each email sent to list

2004-03-23 Thread Chris W. Parker
Jay Blanchard on Tuesday, March 23, 2004 5:27 AM said: > [snip] > (no theories please. unless it's correct. in which case it's ok. :) > [/snip] > > ROFLMFAO! If it is correct then it is no longer theory! Sorry Chris, > maybe I should go lay down. exactly! that's wh

RE: [PHP] $_POST not working with str_replace

2004-03-23 Thread Chris W. Parker
PHP Email List on Tuesday, March 23, 2004 3:08 PM said: > This is becoming very odd! > Possible bug? I hate throwing that out there but it doesn't make > sense why one would work and the other wouldn't since all any of them > are doing is holding "strings". Any othe

RE: [PHP] string concatination

2004-03-23 Thread Chris W. Parker
Matthew Oatham on Tuesday, March 23, 2004 3:59 PM said: > Hi, hi. > What is the correct way, using php to join to strings, vars or other > wise. [snip] > i.e. how do I join > > $string1 = "hello"; > $string2 = "world"; > > do i do > > $string1 . $string2; [s

RE: [PHP] $_POST not working with str_replace

2004-03-23 Thread Chris W. Parker
PHP Email List on Tuesday, March 23, 2004 4:13 PM said: > I tried that, but I know I can get the values from the $_POST array > as per John's email about using print_r($_POST) to see what was > showing. And yes I get the value I wanted in between the :: ::. hhhm

[PHP] another "everyone getting this?" post!

2004-03-23 Thread Chris W. Parker
ok hi. just today i started getting a message from: [IM_T-EXCH] Panda Antivirus for Exchange Server [EMAIL PROTECTED] ...stating that my messages have been deleted. is this happening to everyone or am i sending out a virus all of a sudden? thanks! chris. p.s. no facts please! just theories!

RE: [PHP] something like __URL__ (analogous to __FILE__)

2004-03-23 Thread Chris W. Parker
motorpsychkill on Tuesday, March 23, 2004 4:51 PM said: > So no matter what file I use (like rabbits.php) and I include > config.php, CONFIG_FILE_URL will always return the url for the config > file and NOT the file doing the calling (rabbits.php). hmm... the only t

RE: [PHP] something like __URL__ (analogous to __FILE__)

2004-03-23 Thread Chris W. Parker
Evan Nemerson on Tuesday, March 23, 2004 5:00 PM said: > Take a look at $_SERVER['REQUEST_URI'] the problem with that is that the value REQUEST_URI will contain is that of the page in the address bar (i think) and not the location of an included file (which is what

RE: [PHP] tutorials for login system...

2004-03-24 Thread Chris W. Parker
Andy B on Wednesday, March 24, 2004 1:28 PM said: > dont mean to bring up the subject again...but does anybody know of a > real good login system tutorial that uses sessions/php4/sessions?? > looked at google and found some but dont know how good they really > are (t

RE: [PHP] RE:tutorials for login system...

2004-03-24 Thread Chris W. Parker
Andy B on Wednesday, March 24, 2004 2:20 PM said: > [snip] > also, were you looking for code or general guidelines? > [/snip] > > more importantly is the code so i can see how it is physically > written but both code and guidelines wouldnt hurt at all... in either

RE: [PHP] RE:tutorials for login system...

2004-03-24 Thread Chris W. Parker
Andy B on Wednesday, March 24, 2004 3:27 PM said: > questions...hmmm... cant think of any questions at the minute but i > do have some physical standards of a login system that im looking for: alright let's see... > 1. as normal it needs to carry the session from p

RE: [PHP] htmlspecialchars()

2004-03-25 Thread Chris W. Parker
Anthony Ritter on Thursday, March 25, 2004 12:41 PM said: ok first of all your email was pretty confusing until i read the entire thing! not that it's long, but that you sign off before you're even done with it. but i digress... > $new = htmlspecialchars("Test"

RE: [PHP] Header Redirect & POST

2004-03-25 Thread Chris W. Parker
Chris Shiflett on Thursday, March 25, 2004 1:01 PM said: > I think you made a typo or you're misinterpreting something. The URL > referenced in a Location header will be requested with a GET request, > so it is impossible that any POST data exists. alright cool. now

RE: [PHP] sending form values

2004-03-25 Thread Chris W. Parker
Edward Peloke on Thursday, March 25, 2004 12:50 PM said: > Is there an easy way to loop through the $_Post vars and create a > table with all the names and values? I need a class that I can > attach to any form to output the names and values then e-mail them. yes.

RE: [PHP] $_SESSION vs Database Call

2004-03-25 Thread Chris W. Parker
Vail, Warren on Thursday, March 25, 2004 4:40 PM said: > Answer was; only the paranoid > would notice the difference ;-). Course our user population was > relatively small (100 - 500 concurrently signed on). i don't even think rainman would notice 10 milliseconds.

<    3   4   5   6   7   8   9   10   >