[PHP] Upload file form

2004-04-20 Thread Jeff McKeon
Ok, not exactly pure PHP problem but I hope someone here has seen this before.. I'm got an upload form on a webpage, here's the code: SNIP ?> Select the file type and browse for that file. The press 'Upload'. The file will be uploaded to the server. No changes in the database are done du

[PHP] mysql_query won't work!!!

2004-04-15 Thread Jeff Ostapchuk
ok, this same query, works EVERYWHERE ELSE, why won't it work now? it returns to me: Warning: Supplied argument is not a valid MySQL result resource $query_result = mysql_query("SELECT * FROM AotH_Users"); while ($row = mysql_fetch_array($query_result, MYSQL_NUM)){ -- PHP General Mailing List

[PHP] mysql_fetch_array problem? O.o

2004-04-14 Thread Jeff Ostapchuk
Ok, I have no clue what version of PHP I have installed, 4.??.??, and I have like the newest version of MySQL insatlled, and PHP and MySQL work fine together, excpet when I use mysql_fetch_row($query) then I have problems, mysql_fetch_array($query) works fine, but not mysql_fetch_row($query). Why

[PHP] Preg_match_all problem

2004-04-12 Thread Jeff McKeon
ed,2,9); } I basically have a phone bill that sometimes has the phone number preceeded by "00" and sometimes not. When it has the "00" I want to trim it with the substring command. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compare Case Insensitive?

2004-04-08 Thread Jeff Oien
How can I compare a variable submitted by a form as case insensitive? A promotional code will be entered into a form and it's important that they can enter the code either way. So if I have if ($code == 'ABC123') { I want that to match 'aBC123' 'abc123' or wh

RE: [PHP] File upload progress

2004-04-06 Thread Jeff McKeon
rant, stuff like this bugs the hell out of me. > > Steve > > > > -Original Message- > From: Jeff McKeon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 06, 2004 4:40 PM > To: [EMAIL PROTECTED] > Subject: [PHP] File upload progress > > > Does anyone know of a

RE: [PHP] File upload progress

2004-04-06 Thread Jeff McKeon
he average "dumb user" however it's a necessity. I have users tell me all the time that my PHP pages don't work only to find out that they put in a query parameter that caused a huge database pull and they didn't know that as long as that little flag in IE is still waving

[PHP] File upload progress

2004-04-06 Thread Jeff McKeon
upload on the page? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simple image manager app?

2004-04-01 Thread Jeff D. Hamann
haven't been able to figure out how to allow multiple selects in the windows file dialog box either. Is that possble using php and the html forms? Thanks, Jeff. --- Jeff D. Hamann Forest Informatics, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 541-754-1428 [EMAIL PROTECTED] www.fores

RE: [PHP] Re: Ereg problems

2004-03-26 Thread Jeff McKeon
> -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 25, 2004 6:55 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Ereg problems > > > On Thu, 25 Mar 2004 18:31:02 -0500, Jeff McKeon > <[EMAIL PROTECTED]> > wro

[PHP] Ereg problems

2004-03-25 Thread Jeff McKeon
} [end code] Returns 0 , $48.68 1 , $48.68 Am I doing something wrong with my regex or is there a problem here. What I need is all the dollar amounts pulled out (with a negative sign if there). Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session.gc_maxlifetime

2004-03-25 Thread Jeff Schmidt
unt of time specified by this setting, regardless of whether they have recently accessed the site? I believe, if I understand it, it's the first scenario, where the session get's garbage collected if the user doesn't visit your site for sission.gc_maxlifetime seconds, correc

[PHP] 9 Months Ago

2004-03-20 Thread Jeff Oien
When I do this: $lastmonth = mktime(0, 0, 0, date("m")-9, date("d"), date("Y")); echo "$lastmonth"; It prints this: 1056081600 Could you tell me what I'm missing? Thanks and thanks for the previous help. Jeff Oien -- PHP General Mailing List (htt

Re: [PHP] Convert Date Format?

2004-03-20 Thread Jeff Oien
[EMAIL PROTECTED] wrote: On 20 Mar 2004 Jeff Oien wrote: How do I convert this 9/8/2001 (which is Month/Day/Year) to this 20010908 (YearMonthDay - with leading zeros) How about: Can I put that print (sprintf etc. into a variable? Thanks. Jeff Oien -- PHP General Mailing List (http

[PHP] Convert Date Format?

2004-03-20 Thread Jeff Oien
How do I convert this 9/8/2001 (which is Month/Day/Year) to this 20010908 (YearMonthDay - with leading zeros) Or alternatively take the Month/Day/Year format and find anything older than 9 months ago. Thanks. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Stupid question

2004-03-17 Thread Jeff McKeon
Ewe... OOP Ok, I guess I'll have to learn OOP. Thanks for the info! Jeff > -Original Message- > From: Jordan S. Jones [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 17, 2004 4:02 PM > To: Jeff McKeon > Subject: Re: [PHP] Stupid question > > >

[PHP] Stupid question

2004-03-17 Thread Jeff McKeon
mething to do with classes but can't quite get my head around it. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] refresh page

2004-03-16 Thread Jeff Oien
es. Let me know if you want the code. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Switching First & Last Names in List

2004-03-16 Thread Jeff Oien
. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTML Utilities

2004-03-13 Thread Jeff Oien
y to do it myself but then I'll have to bother you people with questions. :) Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] when is a PDF not a PDF?

2004-03-06 Thread Jeff Harris
IE, this might help you: http://marc.theaimsgroup.com/?l=php-general&m=106001984503131&w=2 HTH Jeff -- Registered Linux user #304026. | 52FC 20BD 025A 8C13 5FC6 gpg key: B0890FED| 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. [http://ww

Re: [PHP] Weird result from query...?

2004-02-27 Thread Jeff Harris
ver equal 2.10. You should probably look at the printf() or sprintf() function to make sure that your $p will be inserted into your query string as you expect it. I'm not up on sprintf() format, but you would probably want something like then use $sql_p in your sql querystring. HTH Jeff --

[PHP] Access DNS record

2004-02-25 Thread Jeff Schwartz
Does anyone know how to access a DNS record? Can it be done with fopen? Jeff - Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want.

[PHP] Re: looks like the spammers got through anyway

2004-02-25 Thread Jeff Schwartz
I use this Yahoo account primarily for the PHP list. I use GoodbyeSpam.com as a filter and no spam whatsoever gets through. You mentioned that the safeguards aren't working. How are you trying to block spam? Jeff - Do you Yahoo!? Yahoo! Mail SpamGuard -

RE: [PHP] session management

2004-01-30 Thread Jeff McKeon
sion variable. For instance if a page has a form for editing information, before loading the form check to see if the Current $_SESSION['write'] variable is set to '1', if so load the form, if not then don't. May not be the best way of doing things but it works well for me

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
Figured it out, I think. PHP doesn't like the underscore in my website name. http://site_dev.foo.com/ doesn't work but http://192.168.2.50/ does. If I rename the site in DNS to siteDEV.foo.com then it works fine. Any ideas why? -Original Message----- From: Jeff McKeon Sent

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
the $_SESSION['user'] variable, but when you follow the link to session_test2.php, the contents of the $_SESSION['user'] are blank. What could be missing here in my server setup? Thanks, jeff -Original Message- From: Jeff McKeon Sent: Thursday, January 29, 2004 11:49 A

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
ze before you get a chance to see the info, etc. Good luck! -TG > -Original Message- > From: Jeff McKeon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 28, 2004 7:44 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Sessions not working. > > > Pulling my hair out here. &g

RE: [PHP] Sessions not working.

2004-01-29 Thread Jeff McKeon
t vaporize before you get a chance to see the info, etc. Good luck! -TG > -Original Message- > From: Jeff McKeon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 28, 2004 7:44 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Sessions not working. > > > Pulling my

[PHP] Sessions not working.

2004-01-28 Thread Jeff McKeon
0 _ENV["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users _ENV["CommonProgramFiles"] C:\\Program Files\\Common Files _ENV["COMPUTERNAME"] WS02TC07927 _ENV["ComSpec"] C:\\WINNT\\system32\\cmd.exe _ENV["CONTENT_LENGTH"] 0 _ENV["GATEWAY

[PHP] rand(min, max) always returns min

2003-12-15 Thread Jeff Mainville
ns 1 echo "mt_rand(): " . mt_rand() . ""; // works echo "mt_rand(1,100): " . mt_rand(1,100) . ""; // works ?> Any insight or pointers as to why this might be failing will be appreciated. Thanks, jeff

[PHP] Operator question

2003-12-09 Thread Jeff McKeon
In PHP, what does the operator "-=" do? I can't find a ref to it's function in the online manual or any books I have. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Text field comparison

2003-12-03 Thread Jeff
I have created a few forms using post. There are certain fields that must match (i.e. username/password) before submission. Can this be accomplished using PHP? If not, an alternative would be nice. Thanks. Jeff Hunnicutt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Restoring a mysql database without shell access.

2003-11-26 Thread Jeff Pauls
d apps for restoring databases besides PHPmyadmin.? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Adding X days to a time string...

2003-11-21 Thread Jeff Lewis
Sorry, I may have muddled that...the issue isn't converting a string to a time, it's taking a time (102636 for example) and adding 30 days to that. Jeff -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 11:13 AM To: [EMAIL

[PHP] Adding X days to a time string...

2003-11-21 Thread Jeff Lewis
Storing a date in seconds (Unix timestamp) in a database and want to add X number of days to this. So I want to extend a time by say 5 days, what is the best method to handle this? It's always stored as a timestamp for a day not an exact time. So dates are stored as day (March 5th, 2003). Jeff

[PHP] Mulitple selects from form drop down box

2003-11-20 Thread Jeff McKeon
code] All this returns is: "Form info: ship2" Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] retrieving ENUM description from MySQL

2003-11-20 Thread Jeff McKeon
; $enum_options = explode(',', $enum_str); } array_push($enum_options, $query_data["Default"]); return $enum_options; } //Note: db_connect() (not shown) is a function created to make a database connection... $var"; ?> [code] Hope this help

RE: [PHP] Counting elements in an array

2003-11-19 Thread Jeff McKeon
Jason Wong wrote: > On Wednesday 19 November 2003 23:24, Jeff McKeon wrote: >> How would I count the number of elements in an array that had a >> certain value? >> >> In other words, if I have >> >> $fruit = array(orange,orange,apple,bananna,orange,apple,p

[PHP] Counting elements in an array

2003-11-19 Thread Jeff McKeon
How would I count the number of elements in an array that had a certain value? In other words, if I have $fruit = array(orange,orange,apple,bananna,orange,apple,pear); How could I get the number of elements from $fruit where the value is "orange"? Thanks, Jeff -- PHP General Ma

RE: [PHP] An array as an element of a function

2003-11-18 Thread Jeff McKeon
Thanks all.. Jeff > -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2003 10:30 AM > To: Jeff McKeon > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] An array as an element of a function > > > Jeff McKeon wrot

RE: [PHP] An array as an element of a function

2003-11-18 Thread Jeff McKeon
Sorry, bad choice of words. By element I meant parameter. Jeff > -Original Message- > From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2003 10:35 AM > To: Jeff McKeon; [EMAIL PROTECTED] > Subject: Re: [PHP] An array as an elemen

[PHP] An array as an element of a function

2003-11-18 Thread Jeff McKeon
? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Communicating with remote server

2003-11-17 Thread Jeff McKeon
h_row($result)) { echo $query_data[0],$query_data[1],$query_data[2],etc } Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: From form to an array

2003-11-17 Thread Jeff McKeon
> /* nextForm.php */ > > > > " method="POST"> Does that make more sense or am I just not understanding what your trying to do? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: From form to an array

2003-11-17 Thread Jeff McKeon
getting turned on... e=swen http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED] ml ## "Jeff McKeon" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] . Is it possible to pass the values of a form directly into an array? I h

RE: [PHP] From form to an array

2003-11-17 Thread Jeff McKeon
es in one array and all the "Price" values in another. [code snip begin] Enter the upper size limit and price for each Tier Tier Limit Tier Price Email Size [code snip end] Jeff McKeon IT Manager Telaurus Communications LLC [EMAIL PROTECTED] (973) 889-

[PHP] From form to an array

2003-11-17 Thread Jeff McKeon
line and put it into $arrray2. Then pass those array's to a function as elements. Any idea how I can do this? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Multiple values in a form option field

2003-11-13 Thread Jeff McKeon
ut $array[0], $array[1] into the fields in the database. Thanks, Jeff > -Original Message- > From: Pablo Gosse [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 3:27 PM > To: Jeff McKeon; [EMAIL PROTECTED] > Subject: RE: [PHP] Multiple values in a form option f

[PHP] Multiple values in a form option field

2003-11-13 Thread Jeff McKeon
e in the form so that both may be written to different fields in the database later. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables not passing to mail script

2003-10-27 Thread Jeff - Harbornet
Disregard last email. I figured it out. Thanks. Jeff Harbornet Jeff - Harbornet wrote: > Hi all. I am running into a problem with posting html data into a PHP > script. The script works on another site that I have created, with this > html code, the variables are not passing to the sen

[PHP] Variables not passing to mail script

2003-10-27 Thread Jeff - Harbornet
submited a request on neighborhoodchoices.com. is a , and can be reached by: Email: Phone: Fax: Address: Mobile: Comments: Any ideas? Thanks Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] New Install - 405 Method Errors

2003-10-23 Thread Jeff - Harbornet
been set up in IIS. Any help is appreciated. Thank you in advance. Jeff

RE: [PHP] Passing array variables in a GET

2003-10-22 Thread Jeff McKeon
he variables... $varSER1=serialize($var1); $varSER2=serialize($var2); Then pass the variables in the url via a GET. It doesn't work however Jeff > -Original Message- > From: Wouter van Vliet [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2003 1:06 PM &

[PHP] Passing array variables in a GET

2003-10-22 Thread Jeff McKeon
Is this possible??? $blah[]=(a, b, c); link So basically I have a page that need an array to perform some function. Can I pass that array variable (and thus it's data) to it from another page? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Getting elapsed time

2003-10-10 Thread Jeff McKeon
Is there a simple way (a built in function) to get the elapsed time between two given timestamps (-MM-DD HH:MM:SS)? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Echo $PHP_SELF not working

2003-10-10 Thread Jeff McKeon
So you're saying I had register_globals set to ON on my dev server!? CRAP!!! I thought I was working with it off! Now I have to redevelop it all and change all my $variables from forms to $_POST['variable']? Even when they post to the same page with "action='&#x

[PHP] Echo $PHP_SELF not working

2003-10-10 Thread Jeff McKeon
s... On the dev server "ECHO $PHP_SELF" seems to work but not on the production one. Any ideas what I've missed? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Global varialbes in functions

2003-10-04 Thread Jeff McKeon
Sorry, I just figured it out. The third function was getting it's data from a form submit using post and I didn't include a hidden input field with the $_GET[''] variable as a value. Jeff > -Original Message- > From: Jeff McKeon > Sent: Saturday, Octobe

[PHP] Global varialbes in functions

2003-10-04 Thread Jeff McKeon
I've got a page that is passed the global variable 'ticketnumber' in the url. In my first two functions on the page I can call this variable using $_GET['ticketid'] no problem. However on the third funtion I get an undefined index error for 'ticketid' Anyon

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Jeff McKeon
Good advice! Thanks! Jeff > -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 5:19 PM > To: Jeff McKeon; php > Subject: RE: [PHP] User Authentication Continued > > > > --- Jeff McKeon <[EMAIL P

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Jeff McKeon
One more mystery solved. Thanks one and all Jeff > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 4:55 PM > To: Jeff McKeon > Cc: PHP-General; [EMAIL PROTECTED] > Subject: RE: [PHP] User Authen

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Jeff McKeon
e VesselID='$_GET['vesselid']' order by Status DESC, Created ASC"; [code end] Jeff > -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 3:45 PM > To: Jeff McKeon; php > Subject: Re: [PHP] User Authentica

RE: [PHP] User authentication

2003-10-03 Thread Jeff McKeon
Yes, I'm the one creating the accounts in the database, users can't create their own accounts nor do they have permissions to create new users. Thanks! Jeff > -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 3:09 P

[PHP] User Authentication Continued....

2003-10-03 Thread Jeff McKeon
de end] Or am I way off and there is another way of doing it? Also I've noticed that when I do an mysql_query("select name from foo where name='$somevariable'") I cannot use $_GET['somevariable'] or $_POST['somevariable'] in the sql string, I find

RE: [PHP] User authentication

2003-10-03 Thread Jeff McKeon
> --- Jeff McKeon <[EMAIL PROTECTED]> wrote: > > $_SESSION['userid'] = $userid; > > $_SESSION['userpassword'] = $userpassword; > > [snip] > > > Anything look wrong or insecure with all of this? > > The only thing that catches m

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
ta=mysql_fetch_row($result); return $query_data[0]; } } [code end] Then when any new page loads it first checks to see if the user has a "CanEdit" value of "1", if not it boots them back to the page they came from, if so it r

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
include"punctuation"; Jeff > -Original Message- > From: Didier McGillis [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 2:36 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] User authentication > > > for those of you who are writing a

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
causing function on each page that checks for valid login to fail? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
> > On 02 October 2003 17:27, Jeff McKeon wrote: > > > Ok, > > > > I've got a login page that has these funtions to set the userid and > > password to session variables > > > > [code start] > > session_start();

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
Ok, I've got a login page that has these funtions to set the userid and password to session variables [code start] session_start(); if(!isset($userid)) { login_form(); exit; } else { session_register("userid", "userpassword"); $username

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
What is stored in the date_out column? Is that one of the colums in your own created table or a standard one? Jeff > -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 11:34 AM > To: php > Subject: RE: [PHP] User authentica

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
Thanks for the advise! It's a big help. I'll go play now and come back with more intelligent questions later! Jeff > -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 11:32 AM > To: Jeff McKeon; Dan Joseph; php >

RE: [PHP] User authentication

2003-10-02 Thread Jeff McKeon
eck against the value in the table. How do I pull up or refer to session variables? Thank, Jeff > -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 11:15 AM > To: php > Subject: RE: [PHP] User authentication > > >

[PHP] User authentication

2003-10-02 Thread Jeff McKeon
s permission requierments match the user requirements stored in the session's variable. Is this correct? Are there any security risks with this as this sight may one day be internet accessable. If this isn't the correct approach, what is? Thanks, Jeff -- PHP General Mailing List (http://

[PHP] Session_start() problem

2003-10-01 Thread Jeff McKeon
ta (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 [end error] Not sure what I did wrong except to think that PHP is trying to write the session id file to a directory that doesn't exist "/tmp." This is running on a

RE: [PHP] IIS Ports

2003-09-27 Thread Jeff McKeon
can't you just beat up your brother? It won't fix your pc but it will probably make you feel better. :o) Chances are your bro is no genious and just using scripts (script kiddie) that other people write for known exploits. If this is the case, then you probably haven't been keeping up with y

RE: [PHP] str_pad

2003-09-26 Thread Jeff McKeon
Thanks all! This is definitely one of the most helpfull mailing lists I belong to. Jeff > -Original Message- > From: Nitin [mailto:[EMAIL PROTECTED] > Sent: Friday, September 26, 2003 11:26 AM > To: Jeff McKeon; php > Subject: Re: [PHP] str_pad > > > It gives

RE: [PHP] str_pad

2003-09-26 Thread Jeff McKeon
Just learning PHP and figuring out all the syntax and stuff. Anyway I had a question about the code example in this post... What does the "->" do in: $dbranch = str_pad($line->dbranch_no, 6, '', STR_PAD_LEFT); Is dbranch_no a "class" I don't know

RE: [PHP] What to use?

2003-09-25 Thread Jeff McKeon
om a MySQL query... Jeff > -Original Message- > From: Tyler Lane [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 4:20 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] What to use? > > > round() > and number_format() are what i would suggest us

RE: [PHP] Understanding code.. again

2003-09-25 Thread Jeff McKeon
Thanks all! Jeff > -Original Message- > From: Chris Sherwood [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 4:15 PM > To: Jeff McKeon; [EMAIL PROTECTED] > Subject: Re: [PHP] Understanding code.. again > > > Yes the null is ignored when a var

RE: [PHP] Understanding code.. again

2003-09-25 Thread Jeff McKeon
Ok, so if an argument is supplied to the function, the "= null" is ignored? Jeff > -Original Message- > From: Brad Pauly [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 4:09 PM > To: Jeff McKeon > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP

[PHP] Understanding code.. again

2003-09-25 Thread Jeff McKeon
In the following code... --snip-- --snip-- What is the purpose in the function def of "($msgvar = null)"?? Why not just "function showmessage($msgvar)"?? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Reading Form Buttons

2003-09-25 Thread Jeff McKeon
If(isset($_post['update'])) { do something; } If(isset($_POST['delete'])) { do something; } Jeff > -Original Message- > From: Dan J. Rychlik [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 3:35 PM > To: [EMAIL PROTECTE

RE: [PHP] Timezones and Daylight Savings Time

2003-09-25 Thread Jeff McKeon
just a logic suggestion, I have no idea if it's possible with code but I would imagin it would be.. Jeff > -Original Message- > From: J J [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 12:56 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Timezones

RE: [PHP] Help understanding code...

2003-09-25 Thread Jeff McKeon
anual says. How does the '!' "NOT" switch work with this? Is it saying If str1 and str2 are not equal? Or is it saying If str1 and str2 are not compared? Thanks, Jeff > -Original Message- > From: Jonathan Villa [mailto:[EMAIL PROTECTED] > Sent: Thursday,

[PHP] Help understanding code...

2003-09-25 Thread Jeff McKeon
I've looked up strcmp() and know it's used to compair two strings. The $operator variable in the script that this was taken from is set to either "-", "+", "*" or "/". What I don't understand here is wha

[PHP] XML Reading, Writing

2003-09-14 Thread Jeff Fitzgerald
I need to use PHP to read, modify and write xml files. I have seen something called expat which I am having trouble installing. Is that the only way to do this? Any help greatly appeciated... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using PHP to get size of mySQL data?

2003-08-22 Thread Jeff Lewis
I want to query a table of text articles and when selecting them I am wondering if I can grab the actual size of the articles in question. So if someone has two articles, I want to see if they have reache 100kb in total. Does that make sense to anyone? is that possible with PHP? Jeff

RE: [PHP] is the list getting virus spammed?

2003-08-19 Thread Jeff Pearson
Yes. A virus is trying to spread through the list. I just read details about it on zdnet's site. Jeff Pearson -Original Message- From: Matt Babineau [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 12:21 PM To: [EMAIL PROTECTED] Subject: [PHP] is the list getting virus sp

[PHP] xmlParserInputBufferGrow: encoder error

2003-08-19 Thread Jeff Schwartz
I'm getting the following error and can't find out anything about it. Has anyone else gotten it? Could the "encoder" referred to be the Zend Encoder? input conversion failed due to input error Bytes: 0x90 0xBD 0xE9 0x80 xmlParserInputBufferGrow: encoder er

Re: [PHP] XML Parser misbehaves with &

2003-08-18 Thread Jeff Bearer
Mon, 2003-08-18 at 12:41, Justin Farnsworth wrote: > This is normal. You have illegal XML there, as it should be > in . I have run across this, and have > to clean it up with an awk script. Ampersand is a no-no. > > Just running xmllint on the file will tell you about the problem

[PHP] XML Parser misbehaves with &

2003-08-18 Thread Jeff Bearer
mp;" and the third time is " Red" Needless to say this is screwing up my parser, and the stuff I'm doing won't make it easy to add this allowance. I'm hoping somebody can point out a way to turn off this behavior. If this is the proper operation, is it documented

[PHP] Suppress errors when running as CGI?

2003-08-14 Thread Jeff Rizzo
Hi- I'm using PHP 4.2.3 under thttpd as a CGI. Things work pretty well, but I can't seem to get it to suppress displaying errors, even though display_errors is set to 'Off' in php.ini. Any suggestions? Thanks, +j -- Jeff Rizzo htt

Re: [PHP] Max script size

2003-08-14 Thread Jeff Held
URL's correct. If I cut the script in half it runs fine. FYI The scrpit in full of 4000 or so mysql SQL statements. Jeff "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Sorry, in terms of PHP error no. I get a page cannot be displayed/

Re: [PHP] Suppress errors when running as CGI?

2003-08-14 Thread Jeff Rizzo
i. > > Any suggestions? > > @Echo off? > :) > > Have you tried putting the '@' symbol in front of the lines that are > displaying the errors? Uh, no... plus, then I'd have to know about errors ahead of time. If I _knew_ about the errors, I'd _fix_ the

[PHP] Configuring PHP to use aspell

2003-08-14 Thread Jeff Lewis
documented. I'm not sure of the path to my Aspell either... Jeff

Re: [PHP] How to display?

2003-08-12 Thread Jeff Harris
;.$mmy_cno; | |what am i doing wrong? | |Kindly reply, |-Ryan First, you aren't reading the manual, which has some examples. The referred page also has "See also:" with some good references. http://www.php.net/mysql_query Second, you haven't [apparently] bothered to search

[PHP] Max script size

2003-08-09 Thread Jeff Held
I have a 6MB PHP script that just won't exe on the live server. It works on the local one. Any ideas on a setting that may limit the script. It is not timing out, it only takes about 3 sec to exe. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Max script size

2003-08-09 Thread Jeff Held
). I just wanted to see what someone would say. Jeff "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message I am sorry Jeff, we have begun to wonder very seriously what you would be doing with that many SQL statements in a single script. Sounds rather convoluted. Would you enli

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