Re: [PHP] array_walk() + class methods

2001-12-22 Thread Jeff Levy
Much obliged, that did the trick. On Fri, 21 Dec 2001 05:48:31 -0500, Papp Gyozo wrote: > array_walk($ar, array(&$object, 'methodname')); > > - Original Message - > From: "Jeff Levy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> > Sent

Re: [PHP] phpbb and ikonboard forum scripts

2001-12-25 Thread Jeff Lewis
Never thought I'd see this pop on here :) As mentined before, Ikonboard is in fact Perl and up until recently was only flatfile. Another you may want to try is http://www.yabb.info (PHP/mySQL combo) Jeff - Original Message - From: "Indera" <[EMAIL PROTECTED]>

[PHP] New Site for PHP Beginners

2001-03-21 Thread Jeff Oien
PHP >start here Internet resources and book reviews for those just starting out with PHP and MySQL 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 cont

[PHP] addslashes Question

2001-03-21 Thread Jeff Oien
ays and it always returns: 3\ What am I doing wrong? Sorry this is probably the 1000th time this has been asked. 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] How to delete a row from MySql

2001-03-22 Thread Jeff Armstrong
curious of Hither Green writes: > printf("(DELETE)", $PHP_SELF, $myrow["id"]); Is there a reason why you're not using interpolation? This looks simpler to me, and I thought that a lot of effort went into optimising PHP interpolation. echo "Delete $myrow[id

RE: [PHP] Ack! Cookie Problems!

2001-03-22 Thread Jeff Armstrong
Why not just set the session start time in a session variable and then test against that? Something like: session_start(); # This array contains all the session items if (!isset($sesh)) { $sesh = array(); session_register('sesh'); $sesh[start] = time(); } if ( $PHP_SELF == '/login') { if

RE: [PHP] trim string - try array/join()

2001-03-22 Thread Jeff Armstrong
while( $data = mysql_fetch_row($result) ){ $ccs[] = trim($h->get_email($data[0])); } $cc = join(",",$ccs); It seems happy with large arrays (10,000s). Regards Jeff -Original Message- From: Mark Maggelet [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 12:20

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-22 Thread Jeff Armstrong
Jon, not sure if I agree with you: locking - almost always a bad idea, atomicity is much faster and safer and usually indicates a better relational design. SQL is fundamentally set oriented, but newbies are almost always row oriented. mySQL locks table automagically, but it doesn't do ro

RE: [PHP] files with html extension

2001-03-22 Thread Jeff Armstrong
()) { get list of possible files in ALPHABETICAL order if (file_is_recognised_mime_type()) return this file recognised mime types come from /etc/mime.types Regards Jeff -Original Message- From: Harshdeep S Jawanda [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 11:06 AM To

RE: [PHP] URIs as variables

2001-03-22 Thread Jeff Armstrong
page. Regards Jeff -Original Message- From: Issac Goldstand [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] URIs as variables Nope. That gave me: I'd need to enumerate $HTTP_GET_VARS variable _keys_ too, but I don't k

[PHP] Printing MySQL into HTML Tables

2001-03-22 Thread Jeff Oien
products there are. I'm not sure how to set it up to print every other like that. 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] Sorry....sessions ... again...with code...

2001-03-23 Thread Jeff Armstrong
d never be a problem. When you 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

RE: [PHP] sql problem

2001-03-23 Thread Jeff Armstrong
the first 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

RE: [PHP] Date subtraction

2001-03-23 Thread Jeff Armstrong
YEAR(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

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 PROTEC

RE: [PHP] Query - Grouping Results

2001-03-19 Thread Jeff Armstrong
how about something like select distinct name, date_format(time, "%W %D %M %Y") as login from users, user_logins where user_logins.user_id = users.id order by name,time -Original Message- From: Jordan Elver [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 20

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

2001-03-26 Thread Jeff Oien
y technical stuff > > ok thnx :p 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]

[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

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

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

[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})", $P

[PHP] SSL Tutorial?

2001-04-02 Thread Jeff Oien
Could anyone point me to some good basic SSL tutorials? I would like to be able to have people submit credit card numbers for a site in the future that will be for a yearly conference registration. Very simple but I don't know the first thing about how SSL works. Thanks. Jeff Oien --

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

2001-04-04 Thread Jeff Carnahan
in it. 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 P

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

2001-04-04 Thread Jeff Carnahan
com/library/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 admini

Re: [PHP] More Email ereg Validation

2001-04-04 Thread Jeff Carnahan
at, except it doesn'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 - [EM

Re: [PHP] Problem with each()

2001-04-05 Thread Jeff Carnahan
, (or it may just be a string set to the word "Array".. Who knows?.. =) -- 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: [EMAIL PROTECTED]

[PHP] PHP/MySQL Code

2001-04-06 Thread Jeff Oien
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') { error message etc. exi

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 &g

RE: [PHP] Print or Echo.

2001-04-06 Thread Jeff Oien
> H- > > Just a quick question. > > Is there any difference between using print or echo? > > >From what I have read and seen there isn't any. > Than why the two different commands? > > Thanks. > -Sterling See this: http://www.php.net/manual/en/function.print.php "As for a print vs. echo

[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]

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 PROTE

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'. Je

[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] For

[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 as

[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: [EMAIL

[PHP] ImageCopy

2001-06-30 Thread Jeff Lewis
5, $title2, $black); 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
1, 60, 60) Imagepng($image, "signature.png"); ImageDestroy($image); Am I using ImageCopy incorrectly? It doesn't put anything in the new image. Jeff

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 = flo

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

2001-07-01 Thread Jeff Lewis
ing($image, 3, 0, 35, $title2, $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]] > Sen

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 PH

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] > Sub

[PHP] Basic multi-dimensional array help

2001-07-03 Thread Jeff Gannaway
I've got input fields in a form that look like: The next script processes all this into a database. Here are the results I get from various commands: sizeof($Info): 2 sizeof($Info[0]): 4 print $Info[0][0]: Array[0] Any help? Jeff Gan

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

2001-07-04 Thread Jeff Lewis
your jpg to the new canvas or (and preferably) someone 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

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 Th

[PHP] Must Have Cookies. PHP/JavaScript

2001-07-05 Thread Jeff Gannaway
est to see 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 appreciate

[PHP] PHP/mySQL Query

2001-07-05 Thread Jeff Lewis
thing 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
With a good start from the folks on this list and a little JavaScript digging, I found an excellent solution to my problem that I thought I'd share: Problem: Want to set a cookie then test for it on the same page. I don't want to to do page redirection to ensure optimal search engine friendlines

[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 cont

[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] Running PHP as a cron job....

2001-07-08 Thread Jeff Lewis
Make sure you also give the path to perl/php. Below is my cron job, it needs to know the path of the interpreter. /usr/bin/php /home/user/public_html/test.php Jeff > -Original Message- > From: Ben Bleything [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 08, 2001 6:34 PM >

Re: [PHP] can I fopen an https url?

2001-07-09 Thread Jeff Orrok
Christian Reiniger wrote: > > On Saturday 07 July 2001 09:27, Jeff Orrok wrote: > > and assuming I can, will this dump the resulting page to the browser? > > > > $fp = fopen( $buildURI, "r" ); > > fpassthru( $fp ); > > fclose( $fp ); > >

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() > &g

[PHP] Average of column...

2001-07-10 Thread Jeff Lewis
".$teamID.$age;} How can I get 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
01 11:41 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP] Average 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 [mai

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 PRO

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

2001-07-10 Thread Jeff Lewis
hop, save it and try it again, then I can use > 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:

[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 lu

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: Wednes

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

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

[PHP] Variable Next To Variable?

2001-07-11 Thread Jeff Oien
Last_Name1 C_Last_Name2 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

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

FW: [PHP] Variable Next To Variable?

2001-07-11 Thread Jeff Oien
What I'm doing is having a form page ask, "How many children do you want to sign up?" Then it spits out form fields for as many children as they asked for. So each field has name="C_Last_Name$x" and $x in incremented for each child. Should I make it name="C_Las

[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 s

[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 PRO

[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... p

[PHP] Finding Out Document That Included Another File

2001-07-12 Thread Jeff Gannaway
thing more elegant and have the INCLUDED file recognize the original file dynamically. Is there some environmental PHP variable that has that info? -- SAMPLE -- Filename: /dummy/BigFile.php Filename: /ImportantFile.php Results: /dummy/BigFile.php Thanks, Jeff Gannaway -- PHP General Mailing

[PHP] Piping Mime String to Metamail Fails

2001-07-13 Thread Jeff Hill
h the archives at the various methods for handling mime, and using 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 a

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 ", > > $m

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: > >> >

RE: [PHP] Credit card number checker?

2001-07-16 Thread Jeff Pearson
Fails%20MOD10%20Check." URL = "CCValidationFailed.asp?ErrorMSSG=" + ErrorMSSG Response.redirect URL END IF Hope it helps. Jeff Pearson > -Original Message- > From: Dr. Evil [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 16, 2001 3:12 PM > To:

[PHP] Unexplained Timeout

2001-07-16 Thread 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 " Error Error Required inf

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") { > > >>error>if (${"element2$z"} == "select") { > > Looks to me like

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, J

RE: [PHP] Unexplained Timeout

2001-07-16 Thread Jeff Oien
thing. :) 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 " > > >

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 download

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

[PHP] Using GnuPG with PHP

2001-07-19 Thread Jeff Bearer
is that the environment for the web server 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

[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
nt me to a > viable solution for this problem? > > Thanks in advance! > > Tom Malone > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact t

Re: [PHP] Using GnuPG with PHP

2001-07-19 Thread Jeff Bearer
amine 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

[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

Re: [PHP] encryption

2001-07-19 Thread Jeff Bearer
I would suggest using a JavaScript program like 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 > > Sherida

Re: [PHP] Hack on Server.

2001-07-20 Thread Jeff Bearer
-- > 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 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-20 Thread Jeff Bearer
> > > > think it's > > > > any more secure. If a hacker sniffs the md5 hash how is that any > > diffrent > > > > than him > > > > sniffing a plain text password? You're comparing hashes, so as long as > > he > > > > has the has

RE: [PHP] include, require, require_once

2001-07-21 Thread Jeff Lewis
friendly ;) Yes it is in the manual 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 &g

[PHP] PHP, Excel, CSV and Problems!

2001-07-21 Thread Jeff Lacy
;good morning", I'm Bob Villa sleep is good,IceCOMMA ThingyCOMMA sleep is good,"Ice, Thingy," If those four 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]).

[PHP] Control Structure Problem

2001-07-22 Thread Jeff Oien
x27;ve had a couple other 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"

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 databa

[PHP] PHP, Excel, .CSV's, and Regular Expressions Help Needed!

2001-07-23 Thread Jeff Lacy
uot;Ice,," If those four 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 unsubsc

RE: [PHP] Learning PHP

2001-07-25 Thread Jeff Oien
http://www.webdesigns1.com/php Jeff Oien > Can someone please make a list of the best places to learn PHP as I have 6 > weeks of school holidays and I want to put the m to good use (i have the > PHP reference guide from www.oreilly.com and i have the big ass document > files from

[PHP] Regular Expression Question

2001-07-25 Thread Jeff Oien
I want to replace a string like this 1B335-2G with this B335. So for all the strings I want to remove the first character and the last three characters. I'm not sure which replace function to use or how to go about it. Thanks. Jeff Oien -- PHP General Mailing List (http://www.php.net

RE: [PHP] Regular Expression Question

2001-07-25 Thread Jeff Oien
Aren't the trims just for white space? Jeff Oien > since you know exactly which 4 characters you want to keep you can use a > simple string trimming routine. I forget the name of the function in php > but it's there and it'll be something like > > trimstring($

RE: [PHP] PHP/Cold Fusion questions:

2001-07-26 Thread Jeff Pearson
included file is processed before it is forwarded to the page that calls it out. Jeff Pearson > -Original Message- > From: Johnny Nguyen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 7:16 PM > To: Kurt Lieber; 'SalvatoreJD'; 'PHP-General' >

[PHP] substr question...

2001-07-26 Thread Jeff Lewis
I am trying to receive file names but can't quite figure out the proper substr to do it: jeff.dat jeffrey.dat chris.dat tom.dat I want to receive the name to the left of the .dat Jeff

Re: [PHP] substr question...

2001-07-26 Thread Jeff Lewis
RE: [PHP] substr question...I suppose that $tmpmember=substr($entry, 0,-4); will do the same? :) Jeff - Original Message - From: Boget, Chris To: 'Jeff Lewis' ; [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 3:54 PM Subject: RE: [PHP] substr question... >

<    3   4   5   6   7   8   9   10   11   12   >