problems and am wondering if there is a better way to do this
or if I have any syntax problems. Thanks.
Jeff Oien
$x = 1;
while ($x = $Number_Children) {
if (${category.$x} == 'SS KidZone - Kindergarten') {
if ((${Grade.$x}) == 'K' (${selection.$x}) == '2nd Hour') {
$sql = SELECT * FROM
I forgot to say I deleted tabs so that the width might fit in a
typical mail reader.
Jeff Oien
This code assigns rooms to kids signing up for Sunday school
at a very large church. Each subsequent registration is put into
the next room on the list. It looks up in the MySQL database
the room
but it helps
someone new to the language to hear from people who have been using PHP for
some time and their preferences...
Jeff
-Original Message-
From: Martin Marconcini [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 10:54 PM
To: 'Thiago Locatelli da Silva'; [EMAIL PROTECTED
examples aren't enough, please let me know. I am NOT on the
php mailing list, so PLEASE send messages to me ([EMAIL PROTECTED] AND
to [EMAIL PROTECTED]).
Thank you very much (in advance),
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Jeff Bearer, RHCE
Webmaster
PittsburghLIVE.com
--
PHP General
the PHP md5 function on the server side and comparing
the
two
results.
That way the only thing that ever gets transmitted is an md5 hash =P
Sheridan
- Original Message -
From: Jeff Bearer [EMAIL PROTECTED]
To: Tom Malone [EMAIL PROTECTED]
Cc
is different than when you su to the web server user. and that's messing things up.
Any help is appreciated, Thanks.
--
Jeff Bearer, RHCE
Webmaster
PittsburghLIVE.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
--
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]
, 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
popen further.
On Thu, Jul 19, 2001 at 10:50:18AM -0400, Jeff Bearer wrote:
I saw examples of how to encrypt data with GnuPG in the list archives
but I'm having problems that aren't mentioned. I've installed the public
key in the web server users key ring, and if I run the command
to pull up the
resumes as well. What is the best query for this?
Jeff
Yes but for the first query all I want to do is list the locations and not
multiple times
Jeff
- Original Message -
From: King, Justin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 1:46 PM
Subject: RE: [PHP] PHP/mySQL Query
I'm assuming you're trying
this
http://pajhome.org.uk/crypt/md5/md5src.html
and then using the PHP md5 function on the server side and comparing the two
results.
That way the only thing that ever gets transmitted is an md5 hash =P
Sheridan
- Original Message -
From: Jeff Bearer [EMAIL PROTECTED]
To: Tom
Try PHP Coder, I like it and use it when I don't use Notepad: www.phpide.de
Jeff
- Original Message -
From: doug [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 2:50 PM
Subject: Re: [PHP] a good PHP editor
Ok I downloaded and looked at a few and the winner
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
I've tried everything I can to pipe a string with mime content to
metamail, but it fails in every variation of:
--snip---
ok, i
qsum=qsum+CINT(ch)
END IF
NEXT
IF qsum mod 100 THEN
ERRORState = TRUE
ErrorMssg = Account%20Number%20is%20incorrect%20. Fails%20MOD10%20Check.
URL = CCValidationFailed.asp?ErrorMSSG= + ErrorMSSG
Response.redirect URL
END IF
Hope it helps.
Jeff
I know $Number_Children is 2. I printed it. And $z starts out as 1.
I don't think that's it.
Jeff Oien
while ($z = $Number_Children) {
errorif (${element2$z} == select) {
Looks to me like $z is never reaching $Number_Children.
Jason
--
PHP General Mailing List (http
I don't know. :) I tried again without $Number_Children in quotes
and still get the timeout but on a different line (3 lines down). It
seems it isn't necessarily a specific line causing it.
Jeff Oien
Why is $Number_Children in quotes?
On Mon, 16 Jul 2001, Jeff Oien wrote:
I know
. :)
Jeff Oien
I get a 30 timeout on the line indicated when executing this code
and can't figure it out. Does anyone know why? Thanks.
Jeff Oien
-
if ($missing == 1) {
echo
html
head
titleError/title
/head
body bgcolor=\#FF\ text
metamail seemed like the best idea, but now I'm wondering.
Thanks for any suggestions.
Jeff Hill,
No programmer here
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
I've tried everything I can to pipe a string with mime content to
metamail, but it fails in every variation of:
exec(echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ,
$met_res) ;
what about /bin/echo ...
Nope, but I do
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
I've tried everything I can to pipe a string with mime content to
metamail, but it fails in every variation of:
exec(echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ,
$met_res
;
?
Results:
/dummy/BigFile.php
Thanks,
Jeff Gannaway
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
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
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
Actually, nevermind. I got it. I was calling a function and sent the
variable with the function so it worked :)
- Original Message -
From: Jeff Lewis [EMAIL PROTECTED]
To: Magnus Hammar [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 9:38 AM
Subject: Re: [PHP] Cookie
fart or missed this in PHP 101 ;)
Jeff
depending on how many Children
are signing up for something. So I need $y to represent the number.
Hope that makes sense. Thanks for any help.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
I like this idea but it's giving me a parse error on this code:
if (!{$C_Last_Name}{$y})
I'm looking at the other ideas also.
Jeff Oien
if (!$C_Last_Name$y) {
The form submitting information to this code has field name like
C_Last_Name1 C_Last_Name2 depending on how many Children
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
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
That gives the following error which is the isset line:
Parse error: parse error, expecting `','' or `')''
- Original Message -
From: Matthew Luchak [EMAIL PROTECTED]
To: Jeff Lewis [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, July 11, 2001 2:14 PM
Subject: RE: [PHP] Running
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...
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]
of column...
if you do a
$res = mysql_fetch_row($age_result)
$res[0] will be the value of AVG(age).
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 5:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Average of column...
I am trying
Could try this:
$blue = ImageColorAllocate($image, 0, 0, 255);
Substitue blue for yellow and you'll be the appropriate RGB values for the
numbers.
Jeff
-Original Message-
From: SED [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP
the yellow for my text. However, I dont want to have the yellow dot in
my picture, only a yellow text.
SED
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: 10. júlí 2001 17:26
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] How to add a new color
Why don't you add the $file to an array, then do a sort on the array?
sort($array)
Jeff
-Original Message-
From: kmurrah [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 2:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] sorting results of opendir()
Greetings.
I need to read
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
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
Anyone have a tutorial or site dealing with PHP and MS Access databases?
Jeff
www.hyrum.net
www.xnull.com
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
I strongly suggest this book. I bought it about a month or two ago and
learned PHP with it. it is an EXCELLENT book.
Jeff
www.hyrum.net
www.xnull.com
If database work is anywhere in your future, though, try PHP and MySQL
Web
Development by Luke Welling and Laura Thomson. It is an EXCELLENT
if their cookie was
accepted, and if not, print up a page that says Sorry, you've got have
your Cookies on or go somewhere else.
Does anyone know how to do this with PHP, Java, or JavaScript?
Code examples or example URLs would be appreciated.
Thanks,
Jeff Gannaway
is, I want to get the team name from the other table as well. Can
anyone help me out?
Jeff
a purchase.
}
else
{
CookieMessage =
}
/SCRIPT
/head
body
SCRIPT LANGUAGE=javascript
document.write(CookieMessage);
/SCRIPT
blah, blah, blah, the rest of the web page...
Enjoy,
Jeff Gannaway
At 03:36 PM 7/5/01 -0500, Jeff Gannaway wrote:
OK, I'm working on a site that absolutely must use
will know if you can add text to an already existing
image...
Jeff
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 6:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Best way to put text on image
If I have a JPEG image, what is the best way to put
I've got input fields in a form that look like:
INPUT TYPE=HIDDEN NAME=Person[0] VALUE=Jeff
INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Apples
INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Oranges
INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Peaches
INPUT TYPE=CHECKBOX NAME=Info[0][] VALUE=Pears
INPUT TYPE
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 =
, $black);
ImageString($image, 3, 0, 50, $title3, $black);
ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60);
ImagePNG($image, signature.png);
ImageDestroy($image);
Jeff
-Original Message-
From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 6:31 PM
To: [EMAIL
Tried with and without and no luck, it has me stumped :)
Jeff
-Original Message-
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 01, 2001 11:53 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Website dealing with PHP image generation?
shouldn't
I used ImageCreateFromPNG and it worked great! Thanks a lot! GIF wasn't
supported (due to GD 1.6+).
Jeff
-Original Message-
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 01, 2001 12:38 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Website
);
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
)
Imagepng($image, signature.png);
ImageDestroy($image);
Am I using ImageCopy incorrectly? It doesn't put anything in the new image.
Jeff
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:
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
Little Bo jeff has lost his logs,
and doesn't know where to find them!
Fix up the conf
and they will come home
dragging their hints behind them!
I moved some php config values into httpd.conf so that I could
manage my virtual sites better (e.g. phpMyAdmin needs globals)
and assumed
be GREATLY appreciated.
Jeff Pearson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Brandon,
The tr tag at the end of the Billing row is not closed. Ive seen NS choke
because of that.
Jeff Pearson
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 4:21 PM
To: PHP User Group
Subject: RE: [PHP] Netscape 6, What
Look at www.rit.edu for php examples. Right now the site has a lot of
different stuff. But some key areas use php, like SIS, which allowa students
to register for classes, get grade reports, etc. are all done via php
Jeff
Phillip Bow wrote:
Well from my experience development time with PHP
on
the their computer.
Any comments or different ideas on this system?
Thanks
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi. Are there any known/posssible security issues with PHP using SSL?
I'm trying to figure out if it would be better to user Perl or PHP based
on their security features/flaws. I'm sure there's holes in both, but
which one has the bigger hole...?
Thanks,
Jeff
--
PHP General Mailing List
http://www.hotscripts.com/PHP/
Jeff Oien
http://www.webdesigns1.com/php/
Can someone pass on the URL for searching for PHP shopping cart programs
and shopping cart related questions.
Many thanks...
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General
tell me different..
thanks,
jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
gain by using an API vs database abstraction
layers, like ADO?
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Thanks to Andrew and Cameron for assisting with my mosxs build of php
and apache.
But I am still stuck with the following:
dyld: /usr/sbin/httpd multiple definitions of symbol _DayNameLong
/usr/sbin/httpd definition of _DayNameLong
/System/Library/Apache/Modules/libphp4.so definition of
Is there a tag in php that acts like wordwrap=virtual does in html? I
have a script that is sending out variables in a email from a contact
form, but for a comments section it will not wordwrap in the email.
Thanks
Shawn
You need to use line breaks \n for lines to wrap in email.
Jeff
to do??
thanks for your help
jeff
--
:-J
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I've gotten up to step 9 on http://php.net/manual/en/install.macosx.php
and this happens:
=== src/modules/php4
cd: can't cd to php4
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2
Apparantly, src/modules/php4 was NOT created
I started by reading http://php.net/manual/en/install.macosx.php
Example 2-4. Mac OS X server install
cd /packages
wget http://apache.vitts.com/dist/apache_1.3.19.tar.gz
gnutar zxf apache_1.3.19.tar.gz
cd apache_1.3.19/
Instead of step 2, I did a ./configure --layout to confirm that I did
not
Cameron wrote:
in here you want --with-apache=/path/to/your/apache/source instead of
the withapxs, the --activeate-module compiles a static php
thank you. :-) I'm curious about the difference between apache and apxs...
Anyway, everything built, but now when I try to start, I get
dyld:
Has anyone read this new book yet?
PHP and MySQL Web Development
by Luke Welling, Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/ref=ase_hotscrcomyourgui/1
07-0943347-2161363
Would be interested in hearing opinions.
Jeff Oien
--
PHP General Mailing List (http://www.php.net
value=0 selectedSelect a Value/option option
value=oneOne/option
option value=twoTwo/option
option value=threeThree/option
/select
EOF;
}
hope that helps,
Jeff
I wanted to say thanks to all those that have helped me. This is really
Here are some recommendations:
http://www.webdesigns1.com/php/books.php
Jeff Oien
Hello
Could I get a recommendation on some good starting PHP books?
Thanks
--
Later Days:)
Michael Clesceri
""Perfection (in design) is achieved not when there is nothing
more to add, but r
I too would be interested in learning what others on this list might have to
say about this. Knowing how a search engine such as Google indexes a site
or a page might be a good starting point in answering this debate: dynamic
vs. static.
Jeff
So I was having a conversation with a manager
them off
to me.
Jeff Pearson
PS: If anyone needs a Merchant Account to process payments, let me know and
I can get you set up. Also, if anyone already has a Merchant Account and
wants cheaper rates, give me a shout.
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent
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
--
(date, "%W, %e %M %Y") as date from table
This doesn't: select concat(date_format(date, "%W, %e %M %Y")," ",time) as
time_of_day
I'm wondering if it is possible to use concat in this way and how if it is
possible. Maybe this is a question better suited for the MySQL li
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
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
= "$row[zip]br";
$my_row .= "$row[date]br";
$my_row .= "$row[time]br";
$my_row .= "$row[phone]br";
$my_row .= "/divbr";
echo "$my_row\n";
}
?
/body
/
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
Check out www.eaccounts.net. Im using them for my sites. They support
basically everything and anything they dont have they are willing to add.
The best part is they charge based on an actual usage instead of charging
you for things you dont use because its part of a 'package'.
Jeff Pearson
I'd really like to learn PHP but where ?
I know some basic perl but havent lookt that deep in PHP yet. any leads ??
=)
sincerly // Ken
http://www.webdesigns1.com/php/
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
;;
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]
"select * from table where
username='$username'",$connection) or die ("Can't do it");
$num = mysql_numrows($result);
if ($num = 0) {
print "htmlerror message etc.
exit;
}
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
"Jeff Oien" [EMAIL PROTECTED] wrote:
This code won't work. I'm trying to get an error if the username
is entered incorrectly but it won't go through the if brackets. I even
tried printing out $num and it's 0. I also tried
if ($num = "0") {
if ($num = '0') {
echo gives you more options,
such as being able to continue output on multiple lines
like an EOT in perl. Look at the above notes. With print
you would not be able to accomplish this."
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
In this case, while the
HTTP_POST_VARS array may be set, it does not contain any elements.
(It's size is zero.)
Hence, it's not included in phpinfo().
--
Jeff Carnahan - [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
/default.asp?
URL=/library/psdk/sql/ts_ua-uz_82n9.htm
(That's one long URL).
--
Jeff Carnahan - [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail
n't accept the country code domains (.au,
}etc). So I changed the number of characters to {2,3} at the end of the
}regex:
}([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2,3})
}
Here's a quick patch.. =)
([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2}[a-z]?)
--
Jeff Carnahan - [EMAIL PROTECTED]
--
P
I want to check if a variable contains a price, like
$19.99
It definitely would be a dollar sign, two integers a dot and
two integers. Here is what I tried which doesn't work.
if (ereg("\$([0-9]{2}).([0-9]{2})", $Price))
or
if (ereg("\$([0-9]{2})\.([0-9]{2})", $Price)
Try this:
http://hotwired.lycos.com/webmonkey/00/05/index2a.html
Jeff Oien
PHP start here
http://www.webdesigns1.com/php/
What is the best method for tracking a user through a website ?
I want to assign a username to a user which I can call up at anytime.
Should I use htaccess files
for both the
$req and the $off class instances.
Any clues on where I need to look to solve this one?
thanks,
Jeff
Running Apache 1.3.17 w/ PHP4.0.4pl1
'./configure' '--with-apache=../apache_1.3.17' '--enable-track-vars'
'--with-xml' '--with-dom'
'--with-ibm-db2
In article 99u746$gra$[EMAIL PROTECTED], "Jeff Warrington"
[EMAIL PROTECTED] wrote:
Never mind everybody. It turns out that I had to set the
odbc_longreadline setting to make sure that the full serialized
session data was read from the DB.
Jeff
hello all. I am attempting to re
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]
I don't know if this will be helpful but you can look at this
JavaScript code:
http://www.webdesigns1.f2s.com/js_typing_text.php
---
Jeff Oien
PHP start here
http://www.webdesigns1.com/php/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
call session_start() php
is automatically going to create a PHPSESSID cookie anyway,
so even if you
setcookie( 'PHPSESSID', '', time() );
all that happens is that you get a new one.
Is the real issue that when you go back to one.php your code
unconditionally recreates the value?
Regards
Jeff
condition in the where clause.
Regards
Jeff
-Original Message-
From: Wade Halsey [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] sql problem
Hi ppl
("select empname from employer where empno = (select employercode from
badc
(date1) - YEAR(date2) as diff_years
from MYTABLE
where id=$id
I'm not sure what
select date1-date2 as date_diff
returns?
beware of the 2037 limitation using UNIX_TIMESTAMP()
regards
Jeff
-Original Message-
From: BlackLord [mailto:[EMAIL PROTECTED]]
Sent: Thursday
901 - 1000 of 1096 matches
Mail list logo