in the first script
(login) it authenticates, but logs any one in. Not good. Does anyone
have any ideas or suggestions?
Thanks in advance,
Craig
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
Thanks - I can't believe I missed that. :(
Craig
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
_
On Feb 27, 2004, at 8:34 AM, Jason Wong wrote:
On Friday 27
', $mesg,
$from))
return true;
else
return false;
}
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
_
--
PHP Database Mailing List (http
/
forgot_password_functions.php on line 70
Your new password has been sent to your email address.
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
_
On Mar 3, 2004, at 2:17
I got it working! Thanks everyone!
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
_
On Mar 3, 2004, at 2:46 PM, Micah Stevens wrote:
the $db variable isn't referencing
Is it possible to write one INSERT statement to populate multiple
tables?
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
_
--
PHP Database Mailing List (http
is, what is the correct way for handling something
like this? Do I need to write three separate queries (INSERT)
statements? I am using MySQL 4.0.17 if that helps?
Thanks in advance,
Craig
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
? Any insight on how to do this is appreciated.
Thanks Craig
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
_
--
PHP Database Mailing List (http://www.php.net
], $_POST[side_crunchs],
$_POST[balance_bicycles], $_POST[v_ups] '.'
'$_POST[leg_rotation]', $_POST[medicine_ball_throw], $_POST[pull_ups],
$_POST[push_ups], '$_POST[climbing]'
);__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED
(distance), DATE_FORMAT('time_upload', '%u'),
WEEK('time_upload', '7') FROM TRAININGLOG WHERE DATE_SUB(NOW(),INTERVAL
7 DAY )
=time_upload
Thanks,
Craig H.
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
still no luck - any other suggestions?
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
_
On Mar 29, 2004, at 8:18 AM, John W. Holmes wrote:
From: Craig Hoffman [EMAIL
= Results: (This is wrong)
= Weekly Miles: (Week starts on Monday) 5.34
Correct Results should be this:
Weekly Miles: 30.5
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
WooHoo! I got it working!
Basically what I did is I changed this DATE_SUB( NOW(),INTERVAL 7 DAY
) to DATE_SUB( NOW(),INTERVAL 1 DAY ) and it worked. I am not
entirely sure why. Anyone know?
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866
Thanks - I'll play with it today.
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
_
On Mar 30, 2004, at 3:32 AM, Ricardo Lopes wrote:
sorry, i press Control+Enter and i
sorry about the multiple reply's. I tested the query with a few future
dates and it seemed to be worked. Thanks again for your help.
Thanks - Craig
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
Hi there:
I am looking for an open source and simple PHP script that will graph
(bar) a few MySQL fields. Does anyone have any recommendations?
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
);
Parse error: parse error, unexpected T_INCLUDE in
/Users/choffman/Sites/www/cyclistsedge/top_performace.php on line 36
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
Ok, I figured it out. I am using jpgraph and I need to place the
include statement next to the start of PHP.
?
included statement
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
What is the best way to avoid data being resubmitted (entered twice) to
DB (mysql) if the user hits refresh after POSTING data via a form?
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
--with-apxs=/usr/sbin/apxs
What's interesting is I update another machine with PHP 4.3.5 with GD /
Fink and it work perfectly. Anyone have any ideas?
Thanks - CH
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
... /sw
checking for the location of libpng... /sw
but the configure then stops and I get this error:
configure: error: libjpeg.(a|so) not found.
Ideas?
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimb.net
-calendar'
'--with-expat-dir=/sw' '--enable-mime-magic' '--disable-debug'
'--enable-pic' '--enable-sysvsem' '--enable-sysvshm' '--enable-exif'
'--with-gettext=/sw' '--with-ncurses' '--with-dom'
'--with-apxs=/usr/sbin/apxs'
Thanks - CH
__
Craig Hoffman - eClimb Media
v
';
echo $query;
$msg = span style='color:red' id='message'Could not update
record/span;
$result = mysql_query($query, $db);
}
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED
='$_SERVER['PHP_SELF']'
encType='multipart/form-data'
Any more thoughts?
CH
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
_
On Apr 29, 2004, at 6:49 PM, Daniel
Sorry to be a pest but I tried that. It giving me the same error.
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
_
On Apr 29, 2004, at 7:10 PM, Daniel Clark wrote
');
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
_
On Apr 29, 2004, at 7:32 PM, Micah Stevens wrote:
Do this:
echo ( form method='post' action='.$_SERVER[PHP_SELF].'
encType='multipart/form
...
Suggestions?
Thanks for everyone's help.
CH
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
_
On Apr 30, 2004, at 5:05 AM, Ford, Mike [LSS] wrote:
On 30 April 2004
Hans,
Thanks Hans. I tried what your suggested and still no luck.
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
_
On Apr 30, 2004, at 7:57 AM, Hans Lellelid wrote
/tr
/table
/form);
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
_
On Apr 30, 2004, at 8:47 AM, Chris Boget wrote:
Thanks Hans. I tried what your
='user_id' value='12'
input type='hidden' name='postback_bio' value='true'
input type='submit' value='Submit' id='submit_buttom'/td
/tr
/table
/form
/td
/tr
/table
/body
/html
__
Craig Hoffman - eClimb Media
v: (847) 644
='message'Could not update
record/span;
$result = mysql_query($query, $db) or ($msg);
}
?
__
Craig Hoffman
iChat: m0untaind0g
__
On Apr 30, 2004, at 9:17 AM, Hutchins, Richard wrote:
Craig,
Where is the code that actually
That worked! Han's and everyone else thank you very much. I owe
everyone who helped out a beer. ;)
Thanks CH
__
Craig Hoffman - eClimb Media
v: (847) 644 - 8914
f: (847) 866 - 1946
e: [EMAIL PROTECTED]
w: www.eclimbmedia.com
Hey Everyone,
I can use some help here I have query where one can selects an
style then a area and finally rating through a drop menu. When
some selects a rating they select a range of ratings. For example:
Style: Traditional
Area: Yosemite
Rating: From: 5.5 To: 5.10c
This should pull
I have an form where someone can choose to upload a photo. If the
person does not upload a photo, an emtpy string is inserted in the DB.
How can I have it insert 'NULL' in the DB instead of an empty string
when they choose NOT to upload a photo but complete the form anyway?
Any help is
I've tried that and thanks. Bad news is I still can't get it to work.
Its always the simple things that causes problems.
Any other suggestions?
On Aug 22, 2004, at 10:41 AM, Daniel Schierbeck wrote:
Craig Hoffman wrote:
I have an form where someone can choose to upload a photo. If the
person
?
wat does the function get or return??
is it a variable scope problem? or what... I dont get the picture..
maybe u should paste the error ur getting..
On Fri, 24 Sep 2004 20:12:46 -0500, Craig Hoffman
[EMAIL PROTECTED] wrote:
Hey Folks,
I can use some help here. I am changing some scripts around so
Watrous
- Original Message -
From: Craig Hoffman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 7:12 PM
Subject: [PHP-DB] Register Globals = OFF not passing variable
Hey Folks,
I can use some help here. I am changing some scripts around so they
work with (register
Hello,
I could use some help here. I have an entry in the MySQL, that use an
apostrophe, for example lets call it O'Reilly. I have added
addslashes to my insert statement so MySQL accepts it with out
complaining.
The problem I am having is I use this information O'Reilly in a GET
URL
Thanks everyone.
urlencode worked like a charm.
On Sep 29, 2004, at 3:53 PM, GH wrote:
You need to use the urlencode() function
On Wed, 29 Sep 2004 13:23:07 -0500, Craig Hoffman
[EMAIL PROTECTED] wrote:
Hello,
I could use some help here. I have an entry in the MySQL, that use an
apostrophe
I have this block of code which checks to see if an image has been
uploaded from an update form. Everything in the form works, except I
can not get the the elseif statements to behave properly. See the
comments below for explanation. Any help would be appreciated.
$route_photo =
I have a form that display's a checkbox if the value is NULL. The form
is in a do... while loop, so the user may check multiple checkboxes.
I am trying to pass the variable of each checkboxes to an update
statement in MySQL. THe problem is I am only getting one of the
checkboxes, even if all
=completed[]
Then you can access the array on your update page and do whatever you
wish
with it.
Hope this helps.
Rich
-Original Message-
From: Craig Hoffman [mailto:[EMAIL PROTECTED]
Sent: Friday, January 21, 2005 4:03 PM
To: php-db@lists.php.net
Subject: [PHP-DB] checkboxes
I have a form
will be empty
and, I
think, won't even be sent in the $_POST array. I'm sure somebody will
correct me there if my memory has failed me.
-Original Message-
From: Craig Hoffman [mailto:[EMAIL PROTECTED]
Sent: Friday, January 21, 2005 4:32 PM
To: php-db@lists.php.net
Cc: Richard Hutchins
Subject: Re
Quick question...
I am hoping some could explain this to me. I have an array like this:
$completed = array($value1, $value2, $value3);
where the values are sent via a form.
input type=checkbox name=completed[] value=value1
when I do print_ r() to see what's in the array I get this:
Array ( [0] =
Hi There,
I am trying to write an if statement to see if an array has any values
in it and if it does do something.
for example:
$ticklist2 = array('$values)
if (array_values(empty($ticklist2))){
do something
} else {
do something else
}
I just can't get this to work. Any help would be
Hi There,
I'm trying to configure my OS X box to work with PEAR. Everything
seems to be working (updating PEAR libraries, etc.) except when I run
my test script I get the following error:
Fatal error: Cannot redeclare class db in /usr/lib/php/DB.php on line
271
Here is my test script:
?php
Thanks for getting back to me... Comments below -
On Feb 28, 2005, at 10:49 AM, Martin Norland wrote:
Craig Hoffman wrote:
Hi There,
I'm trying to configure my OS X box to work with PEAR. Everything
seems to be working (updating PEAR libraries, etc.) except when I run
my test script I get
Hello,
I could use some assistance here. I'll try and explain this the best I
can. I'm trying to get this query to work where it pulls up all the
rows that are associated with a common id . For example let say you
have data that you want to group together. For example:
Group 1 would look
Found the problem - Craig
On Mar 10, 2005, at 5:47 PM, Craig Hoffman wrote:
Hello,
I could use some assistance here. I'll try and explain this the best
I can. I'm trying to get this query to work where it pulls up all the
rows that are associated with a common id . For example let say you
Hello Everyone,
I wrote a GD function that resizes some images and displays them as
thumbnails. When I put the function in the index.php page I receive an
error Warning: Headers have already been sent... then it shows a bunch
of binary. I do not want re-save the file, I just want resize and
, Craig Hoffman wrote:
Hello Everyone,
I wrote a GD function that resizes some images and displays them as
thumbnails. When I put the function in the index.php page I receive
an error Warning: Headers have already been sent... then it shows a
bunch of binary. I do not want re-save the file, I just
Thanks - it works perfectly!
On Apr 5, 2005, at 1:33 PM, Simon Rees wrote:
On Tuesday 05 April 2005 19:19, Craig Hoffman wrote:
The script works fine when I test it on a stand alone page. I'm just
not sure how to include with the rest of the site.
You can't do it all from the same script (AFAIK
.
Yes I know. Thanks.
-Wendell
-Original Message-
From: Craig Hoffman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 11:04 AM
To: php-db@lists.php.net
Subject: [PHP-DB] GD Question
Hello Everyone,
I wrote a GD function that resizes some images and displays them as
thumbnails. When I
Thanks everyone for answering my other post. However, I'm still having
trouble passing the image name from the GD script to the image tag.
I'm including the GD script below. Any help would be great. Thanks -
Craig
//GD script
?php
include (db.php);
$query = SELECT route_photo FROM routes
, 2005, at 9:46 AM, Bastien Koert wrote:
Have a look here...I have some sample code on calling images from a
db. It used the two pages like you do here and passes the ID back and
forth to the image production page...maybe it will help
http://www.weberdev.com/get_example-4062.html
bastien
From: Craig
); // tell the browser
to expect a JPG
imagejpeg($thumb, , 100); // send the image to
the browser (filename= = output instead of save)
exit();
?
However, you cannot use that to show multiple images from 1 script.
Jos
-Original Message-
From: Craig Hoffman [mailto
/function_gd.php?route_photo=$thumb'
align='center' id='image');
do this:
require(include/function_gd.php?route_photo=$thumb);
Jos
-Original Message-
From: Craig Hoffman [mailto:[EMAIL PROTECTED]
Sent: 06 April 2005 18:12
To: php-db@lists.php.net
Cc: Juffermans, Jos
Subject: Re: [PHP-DB
;
}
Best,
CH
__
Craig Hoffman
ICQ / iChat: m0untaind0g
__
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
before you call Header(), and
if there is any content outside of the ?php ? tags in the
includ()'ed or require()'d files (eg. a carraige return at the end, or
a space after the ?.
Check for that and that should fix your problem.
Craig Hoffman wrote:
Hey Folks,
I have a script that times out
Hi There,
Question: How do I include a file or another class, such as a
database connection (table, username, password, etc...) into a
class? I don't want to to change the username and password on every
class(file) that I upload to the server? I'm just picking up this OO
stuff, I'm
I've used GD several times, it works well and its easy to use.
http://us2.php.net/manual/en/function.gd-info.php
Craig Hoffman
IM: m0untaind0g
On Apr 13, 2006, at 9:52 AM, Henry Ortega wrote:
What is the quickest way
Hey there,
I'm working on a menu system for a catering company. I'm having a
difficult time sorting and grouping items together. For example,
there may be three or four appetizers that should be group together.
But I only want to display the category (appetizers) once and then
the
Hi there,
I could use some help in understanding inheritance and accessing
certain properties in objects.
For example (see below), lets say I would like to use public $one
property in a new class / method (such as class b)? What is the
best way to accomplish this? Any help and or
Craig Hoffman
IM / iChat: m0untaind0g
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and /
or deletes records in MySQL, what would be the best approach in having
an 2 universal scripts that updates and another one that just deletes?
Does this make sense?
Here's a breakdown:
Events - Update / Delete (events table)
News - Update / Delete (news table)
___
Craig Hoffman
65 matches
Mail list logo