[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

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

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

[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

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

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

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

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

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

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

[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

[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

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

[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] 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] variables not being passes between php pages

2001-01-10 Thread jeff fitzmyers
I am working on the nice tutorial at http://designmagick.50megs.com/postgresql-tutorial/ I have my test.php and add.php pages created and just can't seem to pass variables to the add.php page -- not even simple things like $user! phpinfo() shows HTTP_POST_VARS["firstname"] = Je

[PHP] constants inside of a string

2001-01-10 Thread jeff saenz
how do you use defines inside of a string... e.g. define(MAX,2); print "the max is MAX"; this obv does not work jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[PHP] Re: variables not being passes between php pages

2001-01-10 Thread jeff fitzmyers
-- Joe Stump <[EMAIL PROTECTED]> wrote: > Well if you aren't posting to your add.php page (ie > method="post" > action="add.php") then you need to pass them via the > add.php?var=foo&varb=bar > method. > > --Joe > > > On Wed, Jan 10, 20

Re: [PHP] constants inside of a string

2001-01-10 Thread jeff saenz
what about inside of a here doc print << print "the max is ".MAX; > > --Joe > > On Wed, Jan 10, 2001 at 12:12:08PM -0800, jeff saenz wrote: > > how do you use defines inside of a string... > > > > e.g. > > > > define(MAX,2); &

Re: [PHP] Force variables to add

2001-01-10 Thread Jeff Warrington
2; print($var3); will show 5 see: http://www.php.net/manual/language.types.type-juggling.php Jeff > I have 2 variables, and I want them to add with each other. But all I > get is the first variable and then the second variable. Here is and > example: > >

Re: [PHP] include path confusion

2001-01-10 Thread Jeff Warrington
local/test/sample.php/ Anyone care to verify? Jeff > I'm confused on what should be a simple issue - where does php look for > an include file in the following example? My test results seem very > confusing and the docs never mention it. > > In the program: > inclu

Re: [PHP] libSWF

2001-01-10 Thread Jeff Warrington
In article <[EMAIL PROTECTED]>, "Arcady Genkin" <[EMAIL PROTECTED]> wrote: http://reality.sgi.com/grafica/flash/dist.99.linux.tar.Z Jeff > Are libswf's sources available, or is it only distributed in binary? > > -- PHP General Mailing List (http://

[PHP] Re: [PHP-DB] Autonomous Mass Mail List System (Broadcast Email)

2001-01-11 Thread jeff saenz
rday. The bounce code is in BounceHandler.pm and BounceParser.pm. 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] Simple form not passing variables, Why??

2001-01-12 Thread jeff fitzmyers
The code below does not work. What could be causing this?? php pages do come up, and I can retrieve SQL data. The header seems okay: test.php?name=Bob and if I define a variable on the same page I can use it. Please enter user name here: you typed: Linux 2.2.14 PHP/4.0.3pl1 './confi

Re: [PHP] using ssh via popen

2001-01-14 Thread Jeff P
probably because ssh requires an interactive login; i.e. it expects STDIN as well. try adding a command after the login parameter such as "ls" and see what you get. -jeff > Can anyone shed any light on why the following code doesn't work? I'm > trying to interact wi

[PHP] Re: Fixed: Simple form not passing variables

2001-01-15 Thread jeff fitzmyers
Thanks!, I was getting bogged down in variable declaration, OOP, etc. This works perfectly: Please enter user name here: You typed: >>> Within your configurations, is register_globals on? I try this code and it works just fine. Although if register_globals setting in php.ini is off it wi

Re: [PHP] Netscape differences?

2001-01-17 Thread Jeff Warrington
In article <[EMAIL PROTECTED]>, "Joel Dossey" <[EMAIL PROTECTED]> wrote: One way to fool browsers when making an image request is to append a random string to the query string of the img src. In these situations, adding 'rand=' can do the trick. Jeff >

[PHP] below10host.com as webhost?

2001-01-17 Thread Jeff Lacy
, 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] below10host.com as webhost?

2001-01-18 Thread Jeff Lacy
ooking for. Does anyone have any ideas (besides below10host.com or phpwebhosting.com)? Thanks again :-) Jeff "Egan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, 18 Jan 2001 01:54:28 -0600, "Jeff Lacy" > <[

Re: [PHP] below10host.com as webhost?

2001-01-19 Thread Jeff Lacy
am not a graphics designer. A few pics would probably make it look infinitely nicer, but I don't know how to do them. Thanks, Jeff ""Jeff Lacy"" <[EMAIL PROTECTED]> wrote in message 948icc$9vs$[EMAIL PROTECTED]">news:948icc$9vs$[EMAIL PROTECTED]... >

Re: [PHP] Date/Time Formatting

2001-01-20 Thread Jeff Lacy
ut exactly as you want it. I know date_format works with the timestamp column type, but I don't know (but I assume) that it works the same exact way for some of the other types that store dates :-) If you still are having trouble, maybe I could help you? Jeff ""Richard Lynch"

[PHP] Mysql & Array Question

2001-01-20 Thread Jeff Lacy
Hello Everyone, I am trying to make a page that will interact with mysql. I need to be able to access the result of my mysql_query by using a for loop. I made a little function that will sortof do this, but it returns a numeric array. Of course, I want an associative array (becauses things

Re: [PHP] PHP Editors

2001-01-21 Thread Jeff Lacy
Textpad is pretty good on Micro$ucks products. It has a free evaluation which isn't very bothersome (unlike others...). You can examine it as www.textpad.com. ""Karl J. Stubsjoen"" <[EMAIL PROTECTED]> wrote in message 003701c0815f$b6f80e40$0afc020a@kstubsjoen">news:003701c0815f$b6f80e40$0afc02

Re: [PHP] Calendar program

2001-01-21 Thread Jeff Lacy
M$ Outlook? I don't know, but try Outlook :-) Jeff "Todd Cary" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does a calendar program exist in PHP similar to Yahoo's program? > (http://www.yahoo.com/calendar) >

Re: [PHP] regular expression help

2001-01-25 Thread Jeff Warrington
print("yes - ".$regs[1].":".$regs[2]."\n"); } since the pattern has an 'or' (|), you have to look in either the second or the third element of the array you use to store values from the ereg. Jeff > can anyone

RE: [PHP] Terrible Hosting Experience

2001-02-21 Thread Jeff Oien
I would agree. I've had clients hosted on pair for quite a while. They are still using PHP 3 however. Jeff Oien > while we're on this topic, i'd suggest people take a look at pair networks: > > http://www.pair.net > > i've had some good experience with t

[PHP] Configuring PHP4 on pair.com

2001-02-21 Thread Jeff Oien
I went through this installation process to install PHP4 on a pair server. When I try to run a PHP script I get an internal server error with this: Premature end of script headers: /usr/www/users//cgi-bin/php4.cgi What should I do from here? Thanks. Jeff Oien -- PHP General Mailing List

RE: [PHP] Configuring PHP4 on pair.com

2001-02-21 Thread Jeff Oien
Wow, my server is being upgraded today. I did all that for nothing. How do I undo what I just did? I checked this morning and PHP3 was still in use on my server. That's why I tried to install PHP4. Jeff Oien > Don't reference the absolute path to php4.cgi in your .htaccess

Re: [PHP] a good hosting experience

2001-02-21 Thread Jeff Gannaway
graphics plus 6 or 7 smaller sites -Jeff At 10:49 AM 2/21/01 -0800, Mark Maggelet wrote: >Right now I'm looking for a cheap virtual host that runs mysql >3.23.30 or higher, does anybody know one? ___ 2001 Wall Calendars

RE: [PHP] Terrible Hosting Experience

2001-02-21 Thread Jeff Oien
> On Wednesday 21 February 2001 20:54, Jeff Oien wrote: > > I would agree. I've had clients hosted on pair for quite a while. > > They are still using PHP 3 however. > 'almost complete control of the server' includes the ability to compile your > own PHP and

RE: [PHP] Configuring PHP4 on pair.com

2001-02-21 Thread Jeff Oien
Just wanted to say pair.com upgraded my server today and it went so smoothly I didn't even notice it. They now have PHP4 on my server. pair.com is a great hosting service as long as you don't need hand holding or super quick tech support. Jeff Oien > > I went through this inst

[PHP] Handling File Uploads : ASCII/Binary transfers

2001-02-21 Thread Jeff Gannaway
t by switcheing from Binary FTP to ASCII FTP. How can this be done with a PHP script??? Thanks! -Jeff Gannaway ___ 2001 Wall Calendars * Art, Jazz, Blues, Women's, African-American. * Everyday Discounts. * Excellent paper and

RE: [PHP] Problem with $REMOTE_ADDR

2001-02-23 Thread Jeff Oien
Same thing happens to me: http://www.webdesigns1.f2s.com/remote_addr.php Jeff Oien code: > At 09:54 AM 2/23/2001, Rosen wrote: > > is the machine that your browsing on the same machine that you have your > serving software on? > > ~kurth > > >

[PHP] Header Location Frame Question

2001-02-23 Thread Jeff Oien
Is it possible to target a frame in the Location: of a header? Sorry if this has been brought up a million times before. 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

[PHP] Cookie References?

2001-02-24 Thread Jeff Oien
Could you give me some URLs for tutorials related to cookies and good reference material? One question I have is can a cookie never expire? 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] session_register in function

2001-02-24 Thread Jeff Lacy
I had this same exact problem just today. It all stems from the variable namespace, I think A similar code 'snippet' is shown below. I just made it up, but I think it illustrates my point. Good luck with whatever you are doing, Jeff Lacy ""Jon Rosenberg""

[PHP] Simple String Replace Question

2001-02-25 Thread Jeff Oien
have: $string_new = str_replace("\n", "", $string); How can I augment this to not replace: \n \n 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 li

RE: [PHP] Simple String Replace Question

2001-02-25 Thread Jeff Oien
> On 25 Feb 2001 10:34:27 -0800, Jeff Oien <[EMAIL PROTECTED]> wrote: > >I would like to get rid of \n characters unless there > >are two or more in a row. So for example if there > > The Perl-compatible regular expressions support lookahead and look behind: > &g

RE: [PHP] Simple String Replace Question

2001-02-25 Thread Jeff Oien
That almost works. The two \n in a row are on new lines. So it's \n \n intead of \n\n. If that makes any sense. Jeff Oien > Or you could just do this: > > $str = "abc\ndefg\n\nxyzpqr\njklmno"; > $str = ereg_replace("([^\n])\n([^\n])", "\\1 \\

RE: [PHP] Simple String Replace Question

2001-02-25 Thread Jeff Oien
> No, that doesn't make any sense whatsoever :) > > A \n *is* a new line. I can only guess you're getting confused because > there's \r's as well as \n's in the string. Try this: > > > $str = "abc\r\ndefg\r\n\r\nxyzpqr\r\njklmno"; > $str = ereg_replace("([^\r\n])\r\n([^\r\n])", "\\1 \\2",

RE: [PHP] Simple String Replace Question

2001-02-25 Thread Jeff Oien
ibed. Thanks! The other troubleshooting examples were helpful too to know what's going on with those characters. 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-general@lists.php.net

2001-02-26 Thread Jeff Oien
http://www.f2s.com/ is another option. Jeff Oien > Hi everyone, > Can anyone tell me where can i find a place where to put my PHP/MySQL > applications for free? > Many thanks > Bye > Bruno > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] Tutorial?

2001-03-02 Thread Jeff Oien
I started with this: http://www.php.net/tut.php went from there. Also http://www.thickbook.com/ has some good stuff. Jeff Oien > Hi there, > Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I > found my way here. > I am gettign to frips with MySQL, a

[PHP] MySQL Create Table Problem

2001-03-02 Thread Jeff Oien
This is driving me nuts. I really tried to figure it out myself. I have a form for creating a table. The form fields have field_name field_type field_length, and checkboxes for not_null, auto_increment and primary. When I check the primary key checkbox it always makes the first field the primary

RE: [PHP] MySQL Create Table Problem

2001-03-02 Thread Jeff Oien
query. But when I use and either leave it blank or enter "Y" it works fine! This is really driving me nuts and I'm afraid it's going to be something stupid staring me in the face. Jeff Oien > Quick example... > > CREATE TABLE user ( >userid int(10) un

[PHP] Regular Expression Help

2001-03-05 Thread Jeff Oien
I want to delete everything after a tab (or space) on each line of a text file and can't figure it out. An example line is ARIA5.19-0.0625 -1.19 5.254.5 48.5100300 I want to the output to be ARIA Thanks. Jeff Oien -- PHP General Mailing List (http://www.php.net

RE: [PHP] get current events from mysql query by date?

2001-03-05 Thread Jeff Oien
This is just a guess but wanted to take a shot at it. Something like SELECT EventID, EventName, EventDescription, EventStartDate, EventEndDate WHERE EventStartDate > CURRENT_DATE ORDER BY EventStartDate ASC LIMIT 5; How did I do? Jeff Oien > I have a mysql database of events. It contai

[PHP] carriage return in multipart/form-data form post

2001-03-05 Thread Jeff Schwartz
We've just moved to a new server and I'm running into an odd problem. The code is below. On my old server it correctly returns: [test] t 116 e 101 s 115 t 116 But on my new server I get: [ test] 13 10 t 116 e 101 s 115 t 116 Has anyone else run into this? "; while ($action){

[PHP] Quick Regex Question

2001-03-05 Thread Jeff Oien
if (preg_match("/[a-Z],[a-Z]/",$text)) { Can you tell me where I'm failing here. I want to do something if the string has commas in between words with no spaces. Like: blah,blah,blah Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Please Help....

2001-03-06 Thread Jeff Pearson
D=*;PWD=*","",""); if (!$connection) { echo "Couldn't make a connection!"; exit; } Thanks againg for any help that can be offered. Jeff Pearson -- PHP General Mailing List (http://www.

RE: [PHP] Date Question

2001-03-08 Thread Jeff Oien
If you put the date in MMDD format you can compare the numbers. http://www.php.net/manual/en/function.date.php Jeff Oien > Hi, > Since there is no Date type in php, is there a way to compare dates? > > Something like: > > if ((3/8/2001) < (3/9/2001)){ >// Date

RE: [PHP] HTML book recommendation

2001-03-08 Thread Jeff Oien
This is something I happened to come across. I have no idea how it compares to others, just giving you the link. http://wdvl.internet.com/Authoring/Style/Sheets/Book.html Jeff Oien > This is a bit off-topic, but I'm curious what you PHP'ers would recommend as > a good HTML book.

[PHP] php and netscape server

2001-03-09 Thread Jeff Dickison
EMOTE_ADDR. But if I do $IP = $REMOTE_ADDR it works fine. This also happens with other environment variables as well. The getenv() also works fine on my linux/apache setup too. But if anyone could help out with this getenv() problem I would greatly appreciate it. T

RE: [PHP] Advanced PHP

2001-03-09 Thread Jeff Oien
LOL. The evolutionists will tell you they came from worms. So according to them the worm came first and it "evolved" into something else. Tough to know where the egg came into the picture according to that theory. Jeff Oien > Of course... where did you think they came fr

[PHP] File Upload Size Limit Problem

2001-03-10 Thread Jeff Oien
ror. Everything else works fine. Jeff Oien if(${"infile".$i}!="none") $noinput=false; if(${"infile".$i."_size"} > 200) { echo "Sorry, file size limit is 2MB. ${"infile".$i} is too large.";

RE: [PHP] File Upload Size Limit Problem

2001-03-10 Thread Jeff Oien
> ""Jeff Oien"" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I've modified a script for uploading multiple files > > and am trying to get it to produce an error if the > > size of the fil

RE: [PHP] tutorials on good database design

2001-03-13 Thread Jeff Oien
MySQL by Paul DuBois is a very good one. Jeff Oien > hi, > > i'm looking for some good tutorials / articles / books on database > design, no, i'm not talking about the classic employee contact database > that nearly every site has lingering somewhere... i'm af

RE: [PHP] tutorials on good database design

2001-03-13 Thread Jeff Oien
then create a report for the hours that I haven't been paid for yet. How do I -best tell the database when I've been paid -there may be more than one entry for each day -create a report for the dates since I was last paid Jeff Oien -- PHP General Mailing List (http://www.php.ne

RE: [PHP] sort in mysql

2001-03-14 Thread Jeff Oien
ORDER BY hits default is ascending (ASC). Otherwise ORDER BY hits DESC Jeff Oien > hi > > I have a database with some urls and numbers. There are currently 2 records > in the database. I wanna sort them by the numbers. How should i do it? > my table is like > > name

RE: [PHP] image counter?

2001-03-14 Thread Jeff Oien
I'm curious as to why you need to combine them. Wouldn't it be easier just to display the images side by side? Jeff Oien > We always use 0-9 images to generate the image counter but this image > counter contains more than one image. Does any body know how to combine > these

[PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Jeff Oien
Could anyone help me out with how to print the entire contents of a database as an Excel file? I'm familiar with the header: header("Content-Type: application/vnd.ms-excel"); just not sure how to go about it beyond that. I have this code and am not sure what do do after it. Th

RE: [PHP] Print MySQL DB as Exel File?

2001-03-14 Thread Jeff Oien
pful for someone new like me. Jeff Oien > I know very little about php, but since you have already received a bunch of > useless answers, I thought I add my guesswork. > > In php 4 you can access MS documents through Microsofts OLE interface. That > means you can manipulate

RE: [PHP] Re: Privilege system of Mysql...

2001-03-19 Thread Jeff Armstrong
and future databases. Regards Jeff -Original Message- From: David Bouw [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 11:28 AM To: Sven Huster Cc: [EMAIL PROTECTED] Subject: [PHP] Re: Privilege system of Mysql... Hi Sven, Yes, I just started playing with the GRANT syntax.. Only

RE: [PHP] PHP hosts?

2001-03-19 Thread Jeff Oien
les, but if there > was a preference, I would probably prefer a more stable place that's not > on/offline a lot. > > Any links/help is much appreciated. Not sure about stability but here is one in the UK: http://www.f2s.com/ Jeff Oien PHP >start here - Web site coming soon --

Re: [PHP] PHP & MYSQL BOOKS

2001-03-19 Thread Jeff Oien
http://www.fatbrain.com/ http://www.booksamillion.com/ Jeff Oien PHP >start here - Web site coming soon >I actually think this is the book I have been waiting for. A bookstore in >New Zealand told me not until March 2001. It must be pretty good, all the >Sams books are. The only prob

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

2001-03-20 Thread Jeff Armstrong
One problem is that you are only checking the first booking. select * from booking where room='room' gives ALL bookings, and you look like you are just testing the FIRST one. why not turn it round and do: select * from booking where ('$start'>=startdate and '$start'<=enddate) or ('$en

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

2001-03-20 Thread Jeff Armstrong
aranteed safe, as you can end up with double bookings in the pico seconds between the select and the insert - but hey, how many hits a second do you expect. Regards Jeff's Granny -Original Message----- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 5:08

RE: [PHP] files with html extension

2001-03-20 Thread Jeff Armstrong
hp or even xxx.my_new_language_of_the_moment. }; Jeff -Original Message- From: Phillip Bow [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 6:35 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] files with html extension Personally I recommend people don't do this unless their web

RE: [PHP] files with html extension

2001-03-20 Thread Jeff Oien
>From the doc: --- How can I remove the file extensions... ...from my URIs in a practical file-based web server? If you are using, for example, Apache, you can set it up to do content negotiation. -- How is this done? Jeff Oien > On 3/20/2001 at 6:49 PM Jeff Arm

[PHP] Please Critique My Tutorial

2001-03-20 Thread Jeff Oien
If you have time please take a look and let me know there are any corrections you would make in terminology and accuracy. I'm fairly new to PHP. I want everything to be correct. http://www.webdesigns1.com/php/tutorial_test.php Jeff Oien -- PHP General Mailing List (http://www.php.net

FW: [PHP] can you have two sql statements on the same page.

2001-03-21 Thread Jeff Armstrong
"\n"; } echo "$row[message_title] $row[message]\n"; $last = $row["club_full_name"]; } Regards Jeff -Original Message- From: Matt Davis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 10:23 AM To: Php Mailing List Subject: [PHP] can you hav

RE: [PHP] Sessions help please

2001-03-21 Thread Jeff Armstrong
Apologies for the long post. I use this approach: (simplified) at the top of every page, before any HTML. Pop it into an include right at the top. I have not included all the util function e.g. LogQuietAlert() regards Jeff "); gotoPage(&q

[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

RE: [PHP] W2K Install Problem

2001-04-14 Thread Jeff Oien
I got it to work. I would still like to know how to open a command window in W2K though. I had a reference to d:/php4/ instead of d:/php/ which is where I have it. 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 W

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

RE: [PHP] Display Formatted Query Results

2001-04-14 Thread Jeff Holzfaster
$my_row .= "$row[time]"; $my_row .= "$row[phone]"; $my_row .= ""; echo "$my_row\n"; } ?> Hi Jeff, @ 8:52:10 PM on 4/14/2001, Jeff Holzfaster wrote: > My apologies if this is too wordy.

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 l

[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
27;f_date". This works: select date_format(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 pos

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 PRO

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