[PHP] Control Structure Problem

2001-07-22 Thread Jeff Oien
problems and am wondering if there is a better way to do this or if I have any syntax problems. Thanks. Jeff Oien $x = 1; while ($x = $Number_Children) { if (${category.$x} == 'SS KidZone - Kindergarten') { if ((${Grade.$x}) == 'K' (${selection.$x}) == '2nd Hour') { $sql = SELECT * FROM

RE: [PHP] Control Structure Problem

2001-07-22 Thread Jeff Oien
I forgot to say I deleted tabs so that the width might fit in a typical mail reader. Jeff Oien This code assigns rooms to kids signing up for Sunday school at a very large church. Each subsequent registration is put into the next room on the list. It looks up in the MySQL database the room

RE: [PHP] include, require, require_once

2001-07-21 Thread Jeff Lewis
but it helps someone new to the language to hear from people who have been using PHP for some time and their preferences... Jeff -Original Message- From: Martin Marconcini [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 10:54 PM To: 'Thiago Locatelli da Silva'; [EMAIL PROTECTED

[PHP] PHP, Excel, CSV and Problems!

2001-07-21 Thread Jeff Lacy
examples aren't enough, please let me know. I am NOT on the php mailing list, so PLEASE send messages to me ([EMAIL PROTECTED] AND to [EMAIL PROTECTED]). Thank you very much (in advance), Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Hack on Server.

2001-07-20 Thread Jeff Bearer
: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General

Re: [PHP] encryption

2001-07-20 Thread Jeff Bearer
the PHP md5 function on the server side and comparing the two results. That way the only thing that ever gets transmitted is an md5 hash =P Sheridan - Original Message - From: Jeff Bearer [EMAIL PROTECTED] To: Tom Malone [EMAIL PROTECTED] Cc

[PHP] Using GnuPG with PHP

2001-07-19 Thread Jeff Bearer
is different than when you su to the web server user. and that's messing things up. Any help is appreciated, Thanks. -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] d

2001-07-19 Thread Jeff Bearer
-- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] encryption

2001-07-19 Thread Jeff Bearer
, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Using GnuPG with PHP

2001-07-19 Thread Jeff Bearer
popen further. On Thu, Jul 19, 2001 at 10:50:18AM -0400, Jeff Bearer wrote: I saw examples of how to encrypt data with GnuPG in the list archives but I'm having problems that aren't mentioned. I've installed the public key in the web server users key ring, and if I run the command

[PHP] PHP/mySQL Query....

2001-07-19 Thread Jeff Lewis
to pull up the resumes as well. What is the best query for this? Jeff

Re: [PHP] PHP/mySQL Query....

2001-07-19 Thread Jeff Lewis
Yes but for the first query all I want to do is list the locations and not multiple times Jeff - Original Message - From: King, Justin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 1:46 PM Subject: RE: [PHP] PHP/mySQL Query I'm assuming you're trying

Re: [PHP] encryption

2001-07-19 Thread Jeff Bearer
this http://pajhome.org.uk/crypt/md5/md5src.html and then using the PHP md5 function on the server side and comparing the two results. That way the only thing that ever gets transmitted is an md5 hash =P Sheridan - Original Message - From: Jeff Bearer [EMAIL PROTECTED] To: Tom

Re: [PHP] a good PHP editor

2001-07-18 Thread Jeff Lewis
Try PHP Coder, I like it and use it when I don't use Notepad: www.phpide.de Jeff - Original Message - From: doug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 2:50 PM Subject: Re: [PHP] a good PHP editor Ok I downloaded and looked at a few and the winner

Re: [PHP] Piping Mime String to Metamail Fails -- Solution

2001-07-18 Thread Jeff Hill
Don Read wrote: On 13-Jul-01 Jeff Hill wrote: Don Read wrote: On 13-Jul-01 Jeff Hill wrote: Don Read wrote: On 13-Jul-01 Jeff Hill wrote: I've tried everything I can to pipe a string with mime content to metamail, but it fails in every variation of: --snip--- ok, i

RE: [PHP] Credit card number checker?

2001-07-16 Thread Jeff Pearson
qsum=qsum+CINT(ch) END IF NEXT IF qsum mod 100 THEN ERRORState = TRUE ErrorMssg = Account%20Number%20is%20incorrect%20. Fails%20MOD10%20Check. URL = CCValidationFailed.asp?ErrorMSSG= + ErrorMSSG Response.redirect URL END IF Hope it helps. Jeff

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
I know $Number_Children is 2. I printed it. And $z starts out as 1. I don't think that's it. Jeff Oien while ($z = $Number_Children) { errorif (${element2$z} == select) { Looks to me like $z is never reaching $Number_Children. Jason -- PHP General Mailing List (http

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
I don't know. :) I tried again without $Number_Children in quotes and still get the timeout but on a different line (3 lines down). It seems it isn't necessarily a specific line causing it. Jeff Oien Why is $Number_Children in quotes? On Mon, 16 Jul 2001, Jeff Oien wrote: I know

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
. :) Jeff Oien I get a 30 timeout on the line indicated when executing this code and can't figure it out. Does anyone know why? Thanks. Jeff Oien - if ($missing == 1) { echo html head titleError/title /head body bgcolor=\#FF\ text

[PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
metamail seemed like the best idea, but now I'm wondering. Thanks for any suggestions. Jeff Hill, No programmer here -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

Re: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
Don Read wrote: On 13-Jul-01 Jeff Hill wrote: I've tried everything I can to pipe a string with mime content to metamail, but it fails in every variation of: exec(echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y , $met_res) ; what about /bin/echo ... Nope, but I do

Re: [PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
Don Read wrote: On 13-Jul-01 Jeff Hill wrote: Don Read wrote: On 13-Jul-01 Jeff Hill wrote: I've tried everything I can to pipe a string with mime content to metamail, but it fails in every variation of: exec(echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y , $met_res

[PHP] Finding Out Document That Included Another File

2001-07-12 Thread Jeff Gannaway
; ? Results: /dummy/BigFile.php Thanks, Jeff Gannaway -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Cookie Expiry Dates?

2001-07-11 Thread Jeff Lewis
I'd like to set a cookie that never expires or at least one that lasts a month, how can I set it? Does it have to be with time? I am using SetCookie. Jeff

[PHP] Cookie Not Setting..

2001-07-11 Thread Jeff Lewis
Ok, I've used cookies before and have never had a problem with them but for some reason this doesn't seem to be setting! Here is the start of the file called after logging in to my site. In another file I have echo $wwblCookie and have also tried echo $HTTP_COOKIE_VARS[wwblCookie] but no

Re: [PHP] Cookie Not Setting..

2001-07-11 Thread Jeff Lewis
Actually, nevermind. I got it. I was calling a function and sent the variable with the function so it worked :) - Original Message - From: Jeff Lewis [EMAIL PROTECTED] To: Magnus Hammar [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 9:38 AM Subject: Re: [PHP] Cookie

[PHP] Easy question...grabbing variables...

2001-07-11 Thread Jeff Lewis
fart or missed this in PHP 101 ;) Jeff

[PHP] Variable Next To Variable?

2001-07-11 Thread Jeff Oien
depending on how many Children are signing up for something. So I need $y to represent the number. Hope that makes sense. Thanks for any help. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: [PHP] Variable Next To Variable?

2001-07-11 Thread Jeff Oien
I like this idea but it's giving me a parse error on this code: if (!{$C_Last_Name}{$y}) I'm looking at the other ideas also. Jeff Oien if (!$C_Last_Name$y) { The form submitting information to this code has field name like C_Last_Name1 C_Last_Name2 depending on how many Children

[PHP] Running for loop and concat. variables...

2001-07-11 Thread Jeff Lewis
I have a page with about 80 checkboxes on it. The values are names and my users are to select names. Now on the next step I want to be able to list all names processed. I thought a for loop would be best but am having problems. $ffromx is the number of checkboxes generated in the previous

[PHP] Averaging columns in two tables?

2001-07-11 Thread Jeff Lewis
Is it possible to get the average of two tables. I have an age column in two tables. I can get the age average for one table both can the average of both tables be found in one statement? One table is for hitters, the other for pitchers. Jeff

Re: [PHP] Running for loop and concat. variables...

2001-07-11 Thread Jeff Lewis
That gives the following error which is the isset line: Parse error: parse error, expecting `','' or `')'' - Original Message - From: Matthew Luchak [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 2:14 PM Subject: RE: [PHP] Running

[PHP] Variable next to variable question...

2001-07-11 Thread Jeff Lewis
Looks like I should have been keeping a close eye on that thread... I am pulling fields from a database and displaying them on my page. I am adding a checkbox next to the name and storing the name in the checkbox value. Anyway, on submission I want to process them but am having problems...

[PHP] Average of column...

2001-07-10 Thread Jeff Lewis
the average age from this? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Average of column...

2001-07-10 Thread Jeff Lewis
of column... if you do a $res = mysql_fetch_row($age_result) $res[0] will be the value of AVG(age). -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 5:27 PM To: [EMAIL PROTECTED] Subject: [PHP] Average of column... I am trying

RE: [PHP] How to add a new color to JPEG

2001-07-10 Thread Jeff Lewis
Could try this: $blue = ImageColorAllocate($image, 0, 0, 255); Substitue blue for yellow and you'll be the appropriate RGB values for the numbers. Jeff -Original Message- From: SED [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 1:27 PM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] How to add a new color to JPEG

2001-07-10 Thread Jeff Lewis
the yellow for my text. However, I don’t want to have the yellow dot in my picture, only a yellow text. SED -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: 10. júlí 2001 17:26 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] How to add a new color

RE: [PHP] sorting results of opendir()

2001-07-09 Thread Jeff Lewis
Why don't you add the $file to an array, then do a sort on the array? sort($array) Jeff -Original Message- From: kmurrah [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 2:06 PM To: [EMAIL PROTECTED] Subject: [PHP] sorting results of opendir() Greetings. I need to read

[PHP] can I fopen an https url?

2001-07-07 Thread Jeff Orrok
and assuming I can, will this dump the resulting page to the browser? $fp = fopen( $buildURI, r ); fpassthru( $fp ); fclose( $fp ); -- :-J -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Parsing HTML files?

2001-07-07 Thread Jeff Lewis
Is it possible to parse an HTML like at: http://hyrum.net/wwbl/HTML/watrost.htm ? I'd like to be able to grab the player name and ratings and add them to a pretty HTML output :) Jeff

[PHP] PHP with MS Access?

2001-07-07 Thread Jeff Lewis
Anyone have a tutorial or site dealing with PHP and MS Access databases? Jeff www.hyrum.net www.xnull.com

[PHP] Question: Processing files in directory and parsing...

2001-07-07 Thread Jeff Lewis
I have a directory with 163 files. I'd like to go through and process all files with the word rost in them. I'd like to go through each of these files and go line by line to enter the data into a mySQL table. An example of the file would look like this: http://hyrum.net/wwbl/HTML/watrost.htm

Re: [PHP] PHP Books

2001-07-05 Thread Jeff Lewis
I strongly suggest this book. I bought it about a month or two ago and learned PHP with it. it is an EXCELLENT book. Jeff www.hyrum.net www.xnull.com If database work is anywhere in your future, though, try PHP and MySQL Web Development by Luke Welling and Laura Thomson. It is an EXCELLENT

[PHP] Must Have Cookies. PHP/JavaScript

2001-07-05 Thread Jeff Gannaway
if their cookie was accepted, and if not, print up a page that says Sorry, you've got have your Cookies on or go somewhere else. Does anyone know how to do this with PHP, Java, or JavaScript? Code examples or example URLs would be appreciated. Thanks, Jeff Gannaway

[PHP] PHP/mySQL Query

2001-07-05 Thread Jeff Lewis
is, I want to get the team name from the other table as well. Can anyone help me out? Jeff

Re: [PHP] Must Have Cookies. PHP/JavaScript

2001-07-05 Thread Jeff Gannaway
a purchase. } else { CookieMessage = } /SCRIPT /head body SCRIPT LANGUAGE=javascript document.write(CookieMessage); /SCRIPT blah, blah, blah, the rest of the web page... Enjoy, Jeff Gannaway At 03:36 PM 7/5/01 -0500, Jeff Gannaway wrote: OK, I'm working on a site that absolutely must use

RE: [PHP] Best way to put text on image

2001-07-04 Thread Jeff Lewis
will know if you can add text to an already existing image... Jeff -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 6:30 PM To: [EMAIL PROTECTED] Subject: [PHP] Best way to put text on image If I have a JPEG image, what is the best way to put

[PHP] Basic multi-dimensional array help

2001-07-03 Thread Jeff Gannaway
I've got input fields in a form that look like: INPUT TYPE=HIDDEN NAME=Person[0] VALUE=Jeff INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Apples INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Oranges INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Peaches INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Pears INPUT TYPE

RE: [PHP] Time Help

2001-07-01 Thread Jeff Lewis
Here is the function I use when I am comparing differences ($now and $old are Unix timestamps): function datediff($now, $old) { $DIS = $now - $old; // Diff In Secs $secs = $DIS % 60; // modulo $DIS -= $secs; $days = floor($DIS / (24*60*60)); $DIS -= $days * (24*60*60); $hours =

RE: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread Jeff Lewis
, $black); ImageString($image, 3, 0, 50, $title3, $black); ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60); ImagePNG($image, signature.png); ImageDestroy($image); Jeff -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 6:31 PM To: [EMAIL

RE: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread Jeff Lewis
Tried with and without and no luck, it has me stumped :) Jeff -Original Message- From: ReDucTor [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 01, 2001 11:53 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Website dealing with PHP image generation? shouldn't

RE: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread Jeff Lewis
I used ImageCreateFromPNG and it worked great! Thanks a lot! GIF wasn't supported (due to GD 1.6+). Jeff -Original Message- From: ReDucTor [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 01, 2001 12:38 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Website

[PHP] ImageCopy

2001-06-30 Thread Jeff Lewis
); ImageString($image, 3, 0, 50, $title3, $black); //ImageCopy($image, $himage, 400, 20, 1, 1, 60, 60) Imagepng($image, signature.png); ImageDestroy($image); Am I using ImageCopy incorrectly? It doesn't put anything in the new image. Jeff

[PHP] Website dealing with PHP image generation?

2001-06-30 Thread Jeff Lewis
) Imagepng($image, signature.png); ImageDestroy($image); Am I using ImageCopy incorrectly? It doesn't put anything in the new image. Jeff

[PHP] NaN

2001-06-22 Thread Jeff Orrok
I was wondering how I would test to see if a number was NaN. When I assign log(-1) to a constant, it does not seem to equal another variable that is NaN. -- :-J -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] PHP no longer logging errors

2001-06-21 Thread Jeff Armstrong
segmentation faults reported in the apache error logs. Now I dont get anything anywhere. Anyone know why all error reporting might suddenly disappear? Has my library grown too large? complex? TIA JEFF -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] PHP no longer logging errors - found them!

2001-06-21 Thread Jeff Armstrong
Little Bo jeff has lost his logs, and doesn't know where to find them! Fix up the conf and they will come home dragging their hints behind them! I moved some php config values into httpd.conf so that I could manage my virtual sites better (e.g. phpMyAdmin needs globals) and assumed

[PHP] Blank Field Values

2001-05-18 Thread Jeff Pearson
be GREATLY appreciated. Jeff Pearson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-17 Thread Jeff Pearson
Brandon, The tr tag at the end of the Billing row is not closed. Ive seen NS choke because of that. Jeff Pearson -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 4:21 PM To: PHP User Group Subject: RE: [PHP] Netscape 6, What

Re: [PHP] PHP Pros/Cons, Case Examples, PHP vs Servlets

2001-05-17 Thread Jeff
Look at www.rit.edu for php examples. Right now the site has a lot of different stuff. But some key areas use php, like SIS, which allowa students to register for classes, get grade reports, etc. are all done via php Jeff Phillip Bow wrote: Well from my experience development time with PHP

[PHP] PGP with MySQL

2001-05-17 Thread Jeff
on the their computer. Any comments or different ideas on this system? Thanks Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP vs Perl security

2001-05-15 Thread Jeff
Hi. Are there any known/posssible security issues with PHP using SSL? I'm trying to figure out if it would be better to user Perl or PHP based on their security features/flaws. I'm sure there's holes in both, but which one has the bigger hole...? Thanks, Jeff -- PHP General Mailing List

RE: [PHP] Shopping cart search

2001-05-10 Thread Jeff Oien
http://www.hotscripts.com/PHP/ Jeff Oien http://www.webdesigns1.com/php/ Can someone pass on the URL for searching for PHP shopping cart programs and shopping cart related questions. Many thanks... Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General

[PHP] session help (session.gc_probability)

2001-05-08 Thread Jeff Warrington
tell me different.. thanks, jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP vs Coldfusion and ADO vd API

2001-05-07 Thread Jeff
gain by using an API vs database abstraction layers, like ADO? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] still getting multiple definitions of symbol _DayNameLong

2001-05-07 Thread Jeff Orrok
Thanks to Andrew and Cameron for assisting with my mosxs build of php and apache. But I am still stuck with the following: dyld: /usr/sbin/httpd multiple definitions of symbol _DayNameLong /usr/sbin/httpd definition of _DayNameLong /System/Library/Apache/Modules/libphp4.so definition of

RE: [PHP] wordwrap

2001-05-05 Thread Jeff Oien
Is there a tag in php that acts like wordwrap=virtual does in html? I have a script that is sending out variables in a email from a contact form, but for a comments section it will not wordwrap in the email. Thanks Shawn You need to use line breaks \n for lines to wrap in email. Jeff

[PHP] trying to activate php4 module

2001-05-04 Thread Jeff Orrok
to do?? thanks for your help jeff -- :-J -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] mosxs build error

2001-05-04 Thread Jeff Orrok
I've gotten up to step 9 on http://php.net/manual/en/install.macosx.php and this happens: === src/modules/php4 cd: can't cd to php4 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[1]: *** [build-std] Error 2 make: *** [build] Error 2 Apparantly, src/modules/php4 was NOT created

[PHP] mosxs build error -- more detail

2001-05-04 Thread Jeff Orrok
I started by reading http://php.net/manual/en/install.macosx.php Example 2-4. Mac OS X server install cd /packages wget http://apache.vitts.com/dist/apache_1.3.19.tar.gz gnutar zxf apache_1.3.19.tar.gz cd apache_1.3.19/ Instead of step 2, I did a ./configure --layout to confirm that I did not

Re: [PHP] mosxs build error -- more detail

2001-05-04 Thread Jeff Orrok
Cameron wrote: in here you want --with-apache=/path/to/your/apache/source instead of the withapxs, the --activeate-module compiles a static php thank you. :-) I'm curious about the difference between apache and apxs... Anyway, everything built, but now when I try to start, I get dyld:

[PHP] Do You Like This Book?

2001-04-28 Thread Jeff Oien
Has anyone read this new book yet? PHP and MySQL Web Development by Luke Welling, Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/ref=ase_hotscrcomyourgui/1 07-0943347-2161363 Would be interested in hearing opinions. Jeff Oien -- PHP General Mailing List (http://www.php.net

Re: [PHP] Newbie Question

2001-04-25 Thread Jeff Warrington
value=0 selectedSelect a Value/option option value=oneOne/option option value=twoTwo/option option value=threeThree/option /select EOF; } hope that helps, Jeff I wanted to say thanks to all those that have helped me. This is really

RE: [PHP] PHP Books

2001-04-20 Thread Jeff Oien
Here are some recommendations: http://www.webdesigns1.com/php/books.php Jeff Oien Hello Could I get a recommendation on some good starting PHP books? Thanks -- Later Days:) Michael Clesceri ""Perfection (in design) is achieved not when there is nothing more to add, but r

RE: [PHP] Dynamic Pages and Google ???

2001-04-17 Thread Jeff Holzfaster
I too would be interested in learning what others on this list might have to say about this. Knowing how a search engine such as Google indexes a site or a page might be a good starting point in answering this debate: dynamic vs. static. Jeff So I was having a conversation with a manager

RE: [PHP] accepting credit cards

2001-04-16 Thread Jeff Pearson
them off to me. Jeff Pearson PS: If anyone needs a Merchant Account to process payments, let me know and I can get you set up. Also, if anyone already has a Merchant Account and wants cheaper rates, give me a shout. -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent

[PHP] MySQL Query Question

2001-04-15 Thread Jeff Holzfaster
Hi, I have a couple questions... first, is there a notable MySQL General List like this one? Second, how do you write this query properly, or can it be done? select concat(date_format(date, "%W, %e %M %Y")," ",time) as date from TABLE order by date DESC; Thanks! Jeff --

RE: [PHP] MySQL Query Question

2001-04-15 Thread Jeff Holzfaster
(date, "%W, %e %M %Y") as date from table This doesn't: select concat(date_format(date, "%W, %e %M %Y")," ",time) as time_of_day I'm wondering if it is possible to use concat in this way and how if it is possible. Maybe this is a question better suited for the MySQL li

[PHP] W2K Install Problem

2001-04-14 Thread Jeff Oien
When I try to run a PHP script through a Web browser it just displays the code. I did a clean install of W2K and installed Apache. I copied the php.ini to the WINNT and system folders. Not sure where to go from here. BTW how do you open a command window in W2K? Thanks. Jeff Oien -- PHP General

[PHP] Display Formatted Query Results

2001-04-14 Thread Jeff Holzfaster
Hi All, My apologies if this is too wordy. This is driving me nuts. I have very little experience or knowledge of PHP and MySQL but have been put in a position that requires me to build several applications that require me to figure them out. I am making progress, though. Here is my first

RE: [PHP] Display Formatted Query Results

2001-04-14 Thread Jeff Holzfaster
= "$row[zip]br"; $my_row .= "$row[date]br"; $my_row .= "$row[time]br"; $my_row .= "$row[phone]br"; $my_row .= "/divbr"; echo "$my_row\n"; } ? /body /

RE: [PHP] Display Formatted Query Results

2001-04-14 Thread Jeff Holzfaster
Teemu, thanks for the input. I tried this with somewhat modified code (added all the fields) and perhaps you saw what I did on my last post to the list. I have actually been able to get the same results as this. I'm a little confused about how to get the info in the 'for' section to format to

RE: [PHP] Do any of you provide hosting?

2001-04-13 Thread Jeff Pearson
Check out www.eaccounts.net. Im using them for my sites. They support basically everything and anything they dont have they are willing to add. The best part is they charge based on an actual usage instead of charging you for things you dont use because its part of a 'package'. Jeff Pearson

RE: [PHP] where might I find a good php page

2001-04-08 Thread Jeff Oien
I'd really like to learn PHP but where ? I know some basic perl but havent lookt that deep in PHP yet. any leads ?? =) sincerly // Ken http://www.webdesigns1.com/php/ Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Cookie Expire Problem

2001-04-07 Thread Jeff Oien
;; setcookie($cookie_name, $cookie_value, $cookie_expire, "/" , $cookie_domain, 0); Thanks. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP/MySQL Code

2001-04-06 Thread Jeff Oien
"select * from table where username='$username'",$connection) or die ("Can't do it"); $num = mysql_numrows($result); if ($num = 0) { print "htmlerror message etc. exit; } Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

RE: [PHP] PHP/MySQL Code

2001-04-06 Thread Jeff Oien
"Jeff Oien" [EMAIL PROTECTED] wrote: This code won't work. I'm trying to get an error if the username is entered incorrectly but it won't go through the if brackets. I even tried printing out $num and it's 0. I also tried if ($num = "0") { if ($num = '0') {

RE: [PHP] Print or Echo.

2001-04-06 Thread Jeff Oien
echo gives you more options, such as being able to continue output on multiple lines like an EOT in perl. Look at the above notes. With print you would not be able to accomplish this." Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] BUG - Someone else please verify B4 I file

2001-04-04 Thread Jeff Carnahan
In this case, while the HTTP_POST_VARS array may be set, it does not contain any elements. (It's size is zero.) Hence, it's not included in phpinfo(). -- Jeff Carnahan - [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] Problems porting from MySQL Server to MSSQL7 Server

2001-04-04 Thread Jeff Carnahan
/default.asp? URL=/library/psdk/sql/ts_ua-uz_82n9.htm (That's one long URL). -- Jeff Carnahan - [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

Re: [PHP] More Email ereg Validation

2001-04-04 Thread Jeff Carnahan
n't accept the country code domains (.au, }etc). So I changed the number of characters to {2,3} at the end of the }regex: }([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2,3}) } Here's a quick patch.. =) ([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2}[a-z]?) -- Jeff Carnahan - [EMAIL PROTECTED] -- P

[PHP] Quick RegEx Question

2001-03-31 Thread Jeff Oien
I want to check if a variable contains a price, like $19.99 It definitely would be a dollar sign, two integers a dot and two integers. Here is what I tried which doesn't work. if (ereg("\$([0-9]{2}).([0-9]{2})", $Price)) or if (ereg("\$([0-9]{2})\.([0-9]{2})", $Price)

RE: [PHP] Maintaining state

2001-03-29 Thread Jeff Oien
Try this: http://hotwired.lycos.com/webmonkey/00/05/index2a.html Jeff Oien PHP start here http://www.webdesigns1.com/php/ What is the best method for tracking a user through a website ? I want to assign a username to a user which I can call up at anytime. Should I use htaccess files

[PHP] session problems

2001-03-28 Thread Jeff Warrington
for both the $req and the $off class instances. Any clues on where I need to look to solve this one? thanks, Jeff Running Apache 1.3.17 w/ PHP4.0.4pl1 './configure' '--with-apache=../apache_1.3.17' '--enable-track-vars' '--with-xml' '--with-dom' '--with-ibm-db2

Re: [PHP] session problems

2001-03-28 Thread Jeff Warrington
In article 99u746$gra$[EMAIL PROTECTED], "Jeff Warrington" [EMAIL PROTECTED] wrote: Never mind everybody. It turns out that I had to set the odbc_longreadline setting to make sure that the full serialized session data was read from the DB. Jeff hello all. I am attempting to re

RE: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Jeff Oien
I hope this site will be helpful: http://www.webdesigns1.com/php/ Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Delaying Printed Output

2001-03-24 Thread Jeff Oien
I don't know if this will be helpful but you can look at this JavaScript code: http://www.webdesigns1.f2s.com/js_typing_text.php --- Jeff Oien PHP start here http://www.webdesigns1.com/php/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP] Sorry....sessions ... again...with code...

2001-03-23 Thread Jeff Armstrong
call session_start() php is automatically going to create a PHPSESSID cookie anyway, so even if you setcookie( 'PHPSESSID', '', time() ); all that happens is that you get a new one. Is the real issue that when you go back to one.php your code unconditionally recreates the value? Regards Jeff

RE: [PHP] sql problem

2001-03-23 Thread Jeff Armstrong
condition in the where clause. Regards Jeff -Original Message- From: Wade Halsey [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 11:25 AM To: [EMAIL PROTECTED] Subject: [PHP] sql problem Hi ppl ("select empname from employer where empno = (select employercode from badc

RE: [PHP] Date subtraction

2001-03-23 Thread Jeff Armstrong
(date1) - YEAR(date2) as diff_years from MYTABLE where id=$id I'm not sure what select date1-date2 as date_diff returns? beware of the 2037 limitation using UNIX_TIMESTAMP() regards Jeff -Original Message- From: BlackLord [mailto:[EMAIL PROTECTED]] Sent: Thursday

<    5   6   7   8   9   10   11   >