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] 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] 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] 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] 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] 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] 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] 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: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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Security Question

2004-02-20 Thread Chris W. Parker
Ed Lazor on Friday, February 20, 2004 2:29 PM said: > It's like PHP is somehow confused and running my script with the > account settings (and permissions, possibly) for another user on my > host provider's server. If that's true, wouldn't this quality as a > securi

RE: [PHP] sending reply, the continuing

2004-02-20 Thread Chris W. Parker
how about having your php script execute another php script via the command line? wouldn't this allow the web page to close it's connection while the command line continued to do it's thing unaware of what was going on with the web server? chris. -- PHP General Mailing List (http://www.php.ne

RE: [PHP] PICTURE (((PHP don't work with Apache))) PICTURE

2004-02-20 Thread Chris W. Parker
[EMAIL PROTECTED] on Friday, February 20, 2004 10:21 AM said: > This is the window, that I see, when trying to see my phpinfo.php > file through the Internet Explorer. > E-mail: [EMAIL PROTECTED] hmm.. i didn't see a picture but that's g

RE: [PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Chris W. Parker
Scott Fletcher on Friday, February 20, 2004 8:41 AM said: > Went Google surfing on Browser Refresh & Back/Forward Button and > it turned out that PHP can do the dirty work. Problem is no sample > script, all I see are comments about suggesting on using the > $_S

RE: [PHP] Generating Sub Headings

2004-02-19 Thread Chris W. Parker
Nicole on Thursday, February 19, 2004 10:28 AM said: > I have data that looks like this: [snip] > The second value is the year, I have have multiple files for the same > year. What I want to do is output the values under Year sub headings. ok woh. that's way too m

RE: [PHP] checking users have the latest version of a file

2004-02-19 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, February 18, 2004 5:18 PM said: > I dont understand what you are doing with the md5, and > > i assume YOU will know which file is the latest version. > > this is what i have to try and find out to prevent that. the md5 thing will ju

RE: [PHP] checking users have the latest version of a file

2004-02-18 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, February 18, 2004 3:42 PM said: > Hi there i am developing a collaboration filespace, i was wondering if > there is any way either using diff or filesize to check if users have > the latest version of a file before uploading their copy

[PHP] rewrite rule not working

2004-02-18 Thread Chris W. Parker
hi. ok so i've got two rules in a .htaccess file. both of them are valid. only one works. here are the pertinent lines in my .htaccess: RewriteEngine on RewriteBase /~cparker/ RewriteRule ^products/([a-zA-Z0-9-]+)$ product.php?id=$1 RewriteRule ^verify/([a-f0-9]+)$ verify.php?uid=$1 Here is h

RE: [PHP] Nested Loops

2004-02-18 Thread Chris W. Parker
Alex Hogan on Wednesday, February 18, 2004 2:06 PM said: > Do I have something wrong with my syntax? > > Is there an easier way to do this? i don't know the answer to either of those questions but if it's complaining of an undefined index you might want to try prin

RE: [PHP] Going a bit nuts with php/mysql structure......(maybe 0T)

2004-02-18 Thread Chris W. Parker
Ryan A on Wednesday, February 18, 2004 12:18 PM said: > I have the 3 distinct order_ids, but when I try to do a "select > *where order_id='$order_ids' " on the order_ids...I get all the > damn records. The only thing truly unique is the CNObut I have > been u

RE: [PHP] Re: how to deal with http and https directory structures?

2004-02-18 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, February 18, 2004 6:03 AM said: > What this means is that you can have a user access a certain page via > https by simply providing a link containing "https://"; as the prefix. > The down side of this solution is that users will be fre

RE: [PHP] PHP Login Page Issues

2004-02-18 Thread Chris W. Parker
Pushpinder Singh on Wednesday, February 18, 2004 7:46 AM said: > I was wondering if anyone had a chance to take a quick peek at > this code. Thanks again guys ! yes. but it's hard to read, so i just skipped it considering i haven't had a lot of time to spend in

RE: [PHP] Getting age from yyyy-mm-dd

2004-02-18 Thread Chris W. Parker
Ryan A on Wednesday, February 18, 2004 8:19 AM said: > I think I will need to use mktimebut how?? > > Any help appreciated, in URL form, hints or PHP manual references. well i think the idea is to convert the date/time of the person's birthday into a unix times

RE: Re: [PHP] post variables (SpamEnder: BLOCKED 8BZF-SE44074-lgonze@panix.com) (fwd)

2004-02-17 Thread Chris W. Parker
Lucas Gonze on Tuesday, February 17, 2004 2:00 PM said: > Is it possible to ban subscribers who issue this kind of > auto-response? i just wish people were smart enough to understand that no one cares about the spam in the other persons mailbox. we only care about t

[PHP] how to deal with http and https directory structures?

2004-02-17 Thread Chris W. Parker
hey everyone, i'm just starting to use https with my site (got it working today) and i came up against a problem with how i create my directory tree and organize my files. originally i did the following: http root: /home/cparker/www/domain.com/ https root: /home/caprker/www/domain.com/ssl but

RE: [PHP] Re: Sessions

2004-02-17 Thread Chris W. Parker
Paul Furman on Tuesday, February 17, 2004 10:39 AM said: >> Have a questions about sessions. In building a simple app do I have >> to include the session id in the url string or in a hidden tag? or >> does it normally track it by cookies and so I dont have to call

RE: [PHP] auto increment

2004-02-17 Thread Chris W. Parker
BAO RuiXian on Tuesday, February 17, 2004 11:32 AM said: > If the id is auto increment, can't you use max(id) to get the last > inserted one? only if you are the absolute only person that will ever be connected to that db at one time. otherwise the answer is no. wh

RE: [PHP] Fedora FC1 + PHP 4.3.4 + phpMyAdmin 2.5.6 rc1 - Problems Resolving Included Files

2004-02-13 Thread Chris W. Parker
Radi Shourbaji on Friday, February 13, 2004 4:05 PM said: > Hello All! I'm struggling to get phpMyAdmin working correctly on a > new installation of Fedora FC1. What exactly are you having problems with? > I would appreciate it if someone could walk me > through t

RE: [PHP] cli input and screen question(s)

2004-02-13 Thread Chris W. Parker
Matthias Nothhaft on Friday, February 13, 2004 3:26 PM said: > The other problem is: I would like to draw a screen > like midnight commander does. Is there a way to get that > work with PHP ? midnight commander? never heard of it. but you might want to look into so

RE: [PHP] logo

2004-02-13 Thread Chris W. Parker
rostik on Friday, February 13, 2004 12:53 PM said: please don't send attachments to the list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Chris W. Parker
Alex Hogan on Friday, February 13, 2004 1:10 PM said: > if($login == "successful"){ > $url = "yourin.php"; > } > else{ > $url = "tryagain.php": > } > > header("Location: $url"); don't forget the rest of the url and don't forget to exit like matt said...

RE: [PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Chris W. Parker
Michael T. Peterson on Friday, February 13, 2004 1:03 PM said: > I have written a very straightforward user login script. Once the > user successfully logs in, I would like my PHP script to take him > directly to the home page. [snip] > Can I avoid that intermediate

RE: [PHP] HTML: Make a TR/TD resize to fill a space?

2004-02-13 Thread Chris W. Parker
Matt Hedges on Friday, February 13, 2004 1:00 PM said: > I need for a table cell to fill in the remaining space between some > rows above and a row below, no matter what the window size. I > thought this was possible with a height="*", but it doesn't work. you shou

RE: [PHP] Mp3 with php?

2004-02-12 Thread Chris W. Parker
carlos castillo on Thursday, February 12, 2004 3:53 PM said: > does anyone know how to reproduce a mp3 file with php? What do you mean reproduce? Copy? Create from scratch? Represent visually? In any case.. I'd say PHP cannot do anything but create a copy of a file

[PHP] negative impact on session management after turning off trans_id?

2004-02-12 Thread Chris W. Parker
Hi. I'm wondering if there are any negative side affects to turning off the trans_id? Does it just mean that the site can't keep track of a user unless they have cookies turned on? There are enough parts of my site that don't require a session that I think requiring cookies is not a problem so I'

RE: [PHP] A dumb question

2004-02-11 Thread Chris W. Parker
Chris W. Parker <> on Wednesday, February 11, 2004 11:45 AM said: > I think in this it's what's called a reference. Don't know much else. > :) Ok that should be "I think this is what's called"... had to correct that. -- PHP General Mailing List (

RE: [PHP] A dumb question

2004-02-11 Thread Chris W. Parker
Jeremy Schroeder on Wednesday, February 11, 2004 11:39 AM said: > What does the ampersand do in the bottom example code, they both work. > > $n1 = $num1 -> function(); > $n1 = & $num1 -> function(); I think in this it's what's called a reference. Don't know much el

RE: [PHP] question

2004-02-11 Thread Chris W. Parker
Meramec Challenge Paintball, LLC on Wednesday, February 11, 2004 7:40 AM said: I'm glad you put "question" in your subject line because for a minute there I thought you were sending me a note of praise. I realized you weren't once I read your informative subject line

RE: [PHP] math produces strange characters 

2004-02-06 Thread Chris W. Parker
Paul Furman on Friday, February 06, 2004 4:00 PM said: > That was the whole page but it's being included from a template. When > I made the test math file empty: > I still got the funny characters but not with any other pages I > include there. > > Here it is: > ht

RE: [PHP] math produces strange characters 

2004-02-06 Thread Chris W. Parker
Paul Furman on Friday, February 06, 2004 3:28 PM said: >$result= (1 * 10); > print$result >> > > 10 > Again, I very new to this, first time I tried doing a little simple > math, I'm befuddled. I'm not getting the same result. I got a plain 10. But some wei

RE: [PHP] Surpressing a 'foreach' Error Message

2004-02-06 Thread Chris W. Parker
craig on Friday, February 06, 2004 2:24 PM said: > if (is_array($project)) > foreach ($project as $project_id => $value) { > $fields[] = $project_id; > $values[] = $value; > } > } you're missing a curly brace after the if (). -- PHP General Mailing List

RE: [PHP] var references

2004-02-06 Thread Chris W. Parker
Arthur Pelkey on Friday, February 06, 2004 9:46 AM said: > $blat = $tue_5a; [snip] > while($row = mysql_fetch_array($result)) { > switch($blat) { > case tue_5a: > $min_1 = $row[29]; > break; > } [snip] > Why can I not

RE: [PHP] php-general list question - [Fwd: Delivery Report (failure) forphp-general@lists.php.net]

2004-02-05 Thread Chris W. Parker
Adam Bregenzer on Thursday, February 05, 2004 1:45 PM said: > I get one of these for almost every message I send, usually with a > delay of a few days and always the same error. I see my posts come > from the list to me and I see people replying to my messages so th

RE: [PHP] MySQL: Order by

2004-02-05 Thread Chris W. Parker
John Taylor-Johnston on Wednesday, February 04, 2004 9:48 PM said: > When I order by number, it echoes 1,2,3,4,5,6,7,8,9,10 and hten jumps > to 100...199 before it comes back to 11-19. Any way of ordering that > differently? Sounds like your 'number' column is not a

RE: [PHP] Backslashing the [ and ] in a regex

2004-02-04 Thread Chris W. Parker
Sam Masiello on Wednesday, February 04, 2004 1:36 PM said: > Thank you for the reply, Adam, but unfortunately it didn't work. So you want to accept input that may or may not look like the following? Here is some \[text\] for j00. Well I'm no regex expert but I *th

RE: [PHP] [ERR] RE: [PHP] extract(filename)

2004-02-04 Thread Chris W. Parker
[EMAIL PROTECTED] on Wednesday, February 04, 2004 10:23 AM said: > Transmit Report: > > To: [EMAIL PROTECTED], 402 Local User Inbox Full > ([EMAIL PROTECTED]) OH GREAT! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP] How do you guys do this?

2004-01-30 Thread Chris W. Parker
Michal Migurski on Friday, January 30, 2004 5:31 PM said: > users uploading two identically named files at the same time (not all > /that/ unlikely), and you are using a database table to track Really? You don't think it's that uncommon? Please give an example as I

RE: [PHP] How do you guys do this?

2004-01-30 Thread Chris W. Parker
PHP Email List on Friday, January 30, 2004 4:41 PM said: > I sure hope that there aren't 2 people uploading breadbox.jpg at the > same second. That'd be too weird! Now maybe if it was a porn site I > could see the same name, tina.jpg, michele.jpg, but again, the same

RE: [PHP] Exectution Time?

2004-01-30 Thread Chris W. Parker
John Nichel on Friday, January 30, 2004 3:23 PM said: John and John, Nice replies. Mike, John W. Holmes example I think was supposed to be a wink wink nudge nudge thing. What you need to do is store the current time at the point just before you begin execution, th

RE: [PHP] Am I missing Something

2004-01-30 Thread Chris W. Parker
Stuart on Friday, January 30, 2004 2:56 PM said: > print ''; print_r($somearray); print ''; not to steal your glory stuart but you can make it easier on yourself by doing the following: echo '',print_r($somearray),''; it's merely less typing. hth, chris. -- PHP

RE: [PHP] Size of Arrays

2004-01-30 Thread Chris W. Parker
Galen on Friday, January 30, 2004 12:35 PM said: > On huge arrays (hundreds of thousands of elements, three dimensions, > several megabytes) the performance impact is huge! The downside is > you'll probably have to use numeric keys instead of associative, but > for b

RE: [PHP] How do you guys do this?

2004-01-30 Thread Chris W. Parker
Ryan A on Friday, January 30, 2004 10:09 AM said: > common directory (member_pics) so what do you suggest I name the > pictures? eg: > username.jpg? > first_last_name.jpg? > _username.jpg? how about _originalfilename.jpg? Someone uploads "breadbox.jpg" you save it

[PHP] trim your posts

2004-01-29 Thread Chris W. Parker
thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions not working.

2004-01-29 Thread Chris W. Parker
Jas on Thursday, January 29, 2004 1:06 PM said: [snipped about 425 useless lines] > Well in that case do a dump_vars($_session[],$_session[]) for each > session variable you register and see if anything is listed. > Jas C'mon dude. Some of use are on dialup (not me

RE: [PHP] can't figure out this mysql error

2004-01-26 Thread Chris W. Parker
Jason Wong on Friday, January 23, 2004 10:03 PM said: > Time to put the php debugger in action -- echo all your variables to > see that contain what you expect them to contain. 'echo $this->Result;' prints "Resource id #2" 'print_r($this->Result);' prints "Resource

RE: [PHP] Apology (Re: what PHP really needs)

2004-01-23 Thread Chris W. Parker
John Nichel on Friday, January 23, 2004 12:30 PM said: > Seems I struck a cord with some of the people on this mailing list > with my Cold Fussion, ASP/.NET comment. I forgot to put my little > smirk ;) after the comment. To those that I offended, I'm sorry. > Jus

RE: [PHP] How do I regain the ability to create databases

2004-01-23 Thread Chris W. Parker
Freedomware on Friday, January 23, 2004 3:19 AM said: > HOWEVER, it said the better method was to type in either "http" or (I > can't remember the second choice offhand). I think I did it on line > 133 (see below. Just to clarify. The difference between the two meth

RE: [PHP] can't figure out this mysql error

2004-01-23 Thread Chris W. Parker
Chris W. Parker <> on Friday, January 23, 2004 8:54 AM said: > All of what you say makes sense. Hopefully your suggestion will help > me find the problem! In looking through my code I see that I already do this. EVERY call to a mysql function has "or die($this->stop("

RE: [PHP] can't figure out this mysql error

2004-01-23 Thread Chris W. Parker
Jason Wong on Thursday, January 22, 2004 8:49 PM said: > The if-clause will never be evaluated because if there had been an > error your program would have dieded on the previous line. Heh.. yeah I thought about that as I was examining the code for this post. But th

[PHP] can't figure out this mysql error

2004-01-22 Thread Chris W. Parker
Hi. I have a db class that accesses and executes querys as well as returns the result (if you so choose to have it returned). One method within this class is called query() (how genius!). It's defined like so: Result = mysql_query($sql) or die($this->stop($current_line)); if(!$this->Result)

RE: [PHP] Form validation

2004-01-21 Thread Chris W. Parker
Alex Hogan on Wednesday, January 21, 2004 7:18 AM said: > Can some one point me in the right direction for a good tutorial on > form validation in PHP? Here is a basic practical application. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] textfields showing php tags & code

2004-01-21 Thread Chris W. Parker
craig on Wednesday, January 21, 2004 9:24 AM said: > This one has me stumped, it worked yesterday, but not today, > and I didn't change anything (as far as I know). > > This is some of the code from a function which is now showing the > code inside the textareas, r

RE: [PHP] hello to making the php pages

2004-01-21 Thread Chris W. Parker
Dagfinn Reiersøl on Tuesday, January 20, 2004 10:19 PM said: > If he kept the old wife, he needs to talk to both wives. If not, > replacing the colon with a semicolon might help. she was kicked by bull pulling plow. new wife much better. make very happy. -- PHP Gen

[PHP] hello to making the php pages

2004-01-20 Thread Chris W. Parker
hello you, i am here to ask of help from the mailing list. i have PHP Codes like this kind: echo "Welcome to my homepage Mom. See my brand new wife!": I have problem with PHP Codes from above. Where to fix Codes? :P Sorry I couldn't resist!!! -- PHP General Mailing

RE: [PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Chris W. Parker
Chris Shiflett on Tuesday, January 20, 2004 12:54 PM said: > That was great. My favorite quotes from the article: > > "Register for this tutorial" Bummer. I was looking forward to reading it. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscri

RE: [PHP] Returning Newbie (Disoriented)

2004-01-16 Thread Chris W. Parker
Freedomware on Monday, January 12, 2004 5:47 PM said: > Now I just have to get it hooked up to Dreamweaver. But I'll take your > advice and find out what programs my host is running. I don't think you "hook up" Dreamweaver to anything in the way that Frontpage "hook

RE: [PHP] Can you recommend a good PHP includes tutorial?

2004-01-16 Thread Chris W. Parker
Freedomware on Wednesday, January 14, 2004 5:17 AM said: > Wow, that is a lot simpler than I imagined. Thanks for the tip! Imagined? What did the book tell you to do? Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

RE: [PHP] Returning Newbie (Disoriented)

2004-01-12 Thread Chris W. Parker
Freedomware on Sunday, January 11, 2004 4:40 PM said: > Which PHP do you recommend I download - 3.0, 4.0 or 5.0? Your PHP > tutorial at http://www.php.net/tut.php offers a link to preconfigured > packages (Apache, PHP and MySQL). I noticed that the package that got >

RE: [PHP] Returning Newbie (Disoriented)

2004-01-12 Thread Chris W. Parker
Freedomware on Monday, January 12, 2004 1:57 AM said: > Thanks for the tips, but there's one thing I should point out - I > won't actually be using Apache with my online domains (at least, I > don't think so). I'm just going to use it on my computer to preview > and

RE: [PHP] [Newbie Guide] For the benefit of new members

2003-12-29 Thread Chris W. Parker
Raditha Dissanayake on Sunday, December 28, 2003 8:55 PM said: > This compilation of your is really excellent. Over the last few > months i have noticed that many posters are cleary sending messages > without having read your newby guide. IMHO whenever that happens

RE: [PHP] UNUSUAL PROBLEM WHEN WRITING TO THE SCREEN

2003-12-23 Thread Chris W. Parker
Justin French on Monday, December 22, 2003 6:12 PM said: > Sounds more like the mysql field is a varchar255, rather than maybe a > mediumtext, and only the first 255 chars are getting inserted into the > DB? > > But I could be horribly wrong :) In an effort to keep

RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Chris W. Parker
Larry Brown on Monday, December 22, 2003 3:59 PM said: > Is your field too small? MySQL doesn't complain when you give it a > string longer than it can accept based on the field's size. It just > cuts off what doesn't fit :-) Uhh... he stated in his original email

RE: [PHP] Re: progress in PHP

2003-12-22 Thread Chris W. Parker
Steve Murphy on Monday, December 22, 2003 1:03 PM said: > Well its actually a pure PHP upload meter it just uses JS to open the > window. You could make PHP open the window as well with a little > tweaking. Unless I'm missing something here this is incorrect. PHP do

RE: [PHP] include files

2003-12-19 Thread Chris W. Parker
Todd on Thursday, December 18, 2003 9:57 AM said: > Is it possible under PHP4 to get the name of the file that a function > was called from? To clarify, here's an example of what I'd like to do: [snip] > Does anyone know of a way to do this? I've tried several diff

RE: [PHP] Christmas

2003-12-19 Thread Chris W. Parker
Eric Bolikowski on Friday, December 19, 2003 2:28 PM said: > Merry christmas to every PHP developer here!!! You too. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.tum.de/~jain/software/outlook-quotefix/ -- PHP General Mailing

RE: [PHP] CVS on Windows

2003-12-16 Thread Chris W. Parker
Mike Migurski on Monday, December 15, 2003 10:03 PM said: > Tortoise is a popular CVS client for windows -- CVS commands are > added to the contextual menu in [[whatever windows calls its > Finder]]. All of your files are edited locally, using the editor of > your ch

[PHP] CVS on Windows

2003-12-15 Thread Chris W. Parker
Hey everyone, Sorry for the OT post but I don't know of any other lists where this would be appropriate so I'm sending it here. I will be interfacing with a CVS server not hosted on a Windows machine (it will be a bsd/*nix variant) and frankly I've never used it. What client do all you Windows pe

RE: [PHP] PHP IDE?

2003-12-15 Thread Chris W. Parker
Al on Monday, December 15, 2003 12:52 PM said: > I searched for weeks and tried about 8 php editors and settled on > http://www.phpedit.net/products/PHPEdit/ > > Code hints and completion, and highlighting, etc. are superb. > > Has a few minor bugs, but they are no

[PHP] logic for displaying hierarchical data (ala windows explorer)

2003-12-15 Thread Chris W. Parker
Hi everyone, Last Friday I struggled for a long time with displaying some data that's stored using the Modified Preorder Tree Traversal method. Without making this email overly long and complicated (like my first draft was) I'd like to simply ask if someone has any links or functions or instructio

RE: [PHP] error in mysql SQL syntax

2003-12-12 Thread Chris W. Parker
[EMAIL PROTECTED] on Friday, December 12, 2003 12:43 AM said: First I'm going to +1 Jason's comment. Then I'm going to give you a tip. > Could somebody tell me way I am getting an error in this SQL syntax. > $query = "insert into majordomoaliases > (domain,address

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-11 Thread Chris W. Parker
Daniel Guerrier on Thursday, December 11, 2003 9:08 AM said: > Why not just maintain carts for users with accounts > and maintain them indefinately. Users with out > accounts can have there carts stored in a session and > will become invalid when the session expires

RE: [PHP] Array problem....

2003-12-11 Thread Chris W. Parker
Jas on Thursday, December 11, 2003 7:21 AM said: > Well just so you understand "why" I needed something like that here is > the finished result below [snip] > $i = 0; > while(list(...) = mysql_fetch_row(...)) { > $_SESSION[$i] = "..."; > $i++; > } I want t

RE: [PHP] calling include inside a function?

2003-12-11 Thread Chris W. Parker
Louie Miranda on Wednesday, December 10, 2003 11:40 PM said: > Its possible How did you solve your problem? Chris. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.tum.de/~jain/software/outlook-quotefix/ -- PHP General Mailing

RE: [PHP] Array problem....

2003-12-10 Thread Chris W. Parker
Jas on Wednesday, December 10, 2003 3:44 PM said: > having no idea you could use numbers as session variable names I kinda > feel like a retard right now. You solution worked, thank you very > much. It's an array just like any other which you probably realize now.

RE: [PHP] Array problem....

2003-12-10 Thread Chris W. Parker
Chris W. Parker <> on Wednesday, December 10, 2003 3:27 PM said: > while(list(...)) = mysql_fetch_row(...)) > { Got one too many ) in there. Should be: while(list(...) = mysql_fetch_row(...)) { Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Array problem....

2003-12-10 Thread Chris W. Parker
Jas on Wednesday, December 10, 2003 3:21 PM said: > while(list($id,$sub,$msk,$dns01,$dns02,$rtrs,$rnge) = > mysql_fetch_row($sql_subs)) { > $_session[''] = > "$sub+$msk+$dns01... > } No exactly sure what you mean but here goes: $iCtr = 0; while(list(...)) =

<    1   2   3   4   5   6   7   8   9   10   >