any more ?
Try closing all your { }. count them up, you are missing the closing
bracket on your while statment..
Jim Lucas
- Original Message -
From: Matthew Darcy [EMAIL PROTECTED]
To: hugh danaher [EMAIL PROTECTED]; php
[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 10:25 AM
Subject
I'd definitely check Line 19. You probably forgot a ;
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Jason Whitaker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 4:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse Error
Ok I got
This is too much for a text file. You should definitely use MySQL for
this.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Georgie Casey [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 3:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP
Seeing as the mathematically correct way to round numbers is to round down
to n for n-1=m=n.5 and up to n+1 for n.5mn+1, I wonder why the PHP
round() function couldn't include a little 'fuzz' to handle the rounding
problems we encounter due to floating point representation in the hardware?
It
Yes - that's most likely the answer.. if the echo doesn't help, try
something like this..
$result2 = mysql_query($query2,$db) or die(mysql_error());
If mysql is throwing up an error, that'll present it too you and stop
execution..
-Original Message-
From: Bogdan Stancescu
In your code below, mysql will throw an error if $clientID is empty or
non-numeric because it is not surrounded with quotation marks.. mysql will
treat it as a field name (or just throw a syntax error if it's empty).
-Original Message-
From: Brad Wright [mailto:[EMAIL PROTECTED]]
Sent:
What type of field is 'ip'?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 9:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Trying to put ips into database
I'm trying:
$query
Does anyone have the answer for this question? I need it too...
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Aras Kucinskas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and Apache
I've done some investigating on my own. There is no way to do this.
Period.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Matthew Walker
Sent: Friday, February 01, 2002 3:37 PM
To: Aras Kucinskas; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP
The entire browser has to close down to clear the auth data.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 4:41 PM
To: Matthew Walker; Aras Kucinskas; [EMAIL PROTECTED]
Subject
I'd imagine it's because windows zend has to compile them in a slightly
different manner.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 12:41 PM
To: php-list
Subject
Did you remember to seed it?
See http://www.php.net/manual/en/function.mt-srand.php for info on how
to seed it.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Benjamin deRuyter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 1:02 PM
You need to send the headers to tell the browser what kind of data
you're sending. Try something like this:
header(Content-type: image/png);
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Thursday
$statement=preg_replace(/ /,br,$original,19);
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: hugh danaher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 12:35 PM
To: Php-General
Subject: [PHP] preg_replace() 'space' the final
Note that you can do this:
print $row[field_name];
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Bryan Gintz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 11:49 AM
To: PHP List
Subject: [PHP] MySQL Fetch_Array VS. Fetch_Object
Looking at what you wanted to do, I realized this isn't going to work.
That line of code will put a BR between each of the first 19 words.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Matthew Walker
Sent: Wednesday, January 30, 2002 12:47 PM
Exactly. The point of MD5 is that there is no way to get the password
back. This makes things much more secure if your site gets hacked.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
Hi,
I am looking at getting users to input their details to be stored in mysql,
I would then like them to have to login to get access to certain functions
when they come back.
Does anyone have a good idea on how to do this,
is the best / only way to do this sessions ?
This must be quite
Is there any way to get the process id of a script running on Apache?
Regards,
Matthew Delmarter
--
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
finish the loop OK - but as
mentioned the script is still running 13 hours later. I don't get it.
Any ideas? Is it possible to kill a script via PHP code?
Matthew
PS Here is the script again
?
ignore_user_abort(true);
set_time_limit(1800);
while:
personalise the message;
mail
I downloaded the current version to test, and I don't know how you call
it stable enough to use. I continually get permission denied errors
accessing the DB. Some of them go away if I refresh, others don't. And
yes, the user has full permissions to the relevant DB.
Matthew Walker
Ecommerce
it accumulate so that the timeout has 1800 seconds added to it
every time?
The reason I ask is that my ISP informs me that the script is still
running 13 hours later! Or is this related to the ignore_user_abort?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net
Thanks for your reply Martin.
Any ideas why ignore_user_abort would cause this problem?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject: RE: [PHP] set_time_limit() in a loop
your
I should also mention that the loop is sending mail using mail().
Is it possible that this is the problem somehow?
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:16 PM
To: 'Matthew Delmarter'; PHP Mailing List
Subject: RE: [PHP
.
Tomorrow is a new day; you shall begin it serenely and with too high a
spirit to be encumbered with your old nonsense. - Ralph Waldo Emerson
From: Matthew Darcy [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Wed, 23 Jan 2002 22:10:30 -
To: PHP developers [EMAIL PROTECTED]
Subject: [PHP
]);
arsenic.mth.com is the LAN name of my box. How can I get PHP to send
mail as if it was from the DNS name for the box (mthmarketing.com)?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com
Related to my last question about the cookies in images, is there any
way to get the referrer from the calling page without passing it as an
argument to the image generation script?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked
php. Any advice?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Billy Harvey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 3:25 PM
To: Matthew Walker
Subject: Re: [PHP] More on images...
On Thu, 2002-01-03 at 16:51, Matthew Walker wrote
I solved it using Javascript to get the referrer of the parent doc, and
pass it as a get request.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Matthew Walker
Sent: Thursday, January 03, 2002 3:46 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] More
_Your_ browser has a back button.. great..
There are many situations in which the back button may not be
visible/available/appropriate. You may also not want to go back in your
_history_, just back to the previous page - and possibly set some variables
in the page request. It is far more than a
Hi there,
This is not a bug.. this is expected behaviour.
The string would be chopped up into 3 parts because you have :
1. a string: Follow-up To Critique of BeOS
2. a predefined entity : amp;
3. a string: amp; Mac OS X
There are not actually two ampersands.. you have amp; followed by amp;
Can anyone give me a pointer on where to go to find out how to send
cookies through images, preferably in PHP?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.310
Thanks. That's what I suspected, but I needed to make sure.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Bas van Rooijen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Cookies
well thats just the way XML parsers work, according to the parser, what you
have there is not a single string element, you have three child elements
(the parent node being the title).. two string nodes broken up by an
entity node. In other circumstances, this behaviour can be very useful.
Matt.
Welcome to the world of free software.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Andrew V. Romero [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 9:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Licensing??
I am looking
if
each one is on. I think this would be the easiest, but maybe someone else
has another idea.
Thanks in advanced,
Matthew Walkup
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Hah, I saw parse error and assumed it was because i was trying to use a
function that didnt exist. Little did I know I mistyped something. It
works now, sorry for the inconvience.
Thanks,
Matt
-Original Message-
From: Matthew Walkup [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
,
$newsletter_email,
$newsletter_subject,
'Return-Path: [EMAIL PROTECTED]'
)
It doesn't work! If I change 'Return-Path: [EMAIL PROTECTED]' to
'Reply-To: [EMAIL PROTECTED]' it does work.
Any ideas?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net
Hi Chamarty,
The function you are looking to use is:
filesize(file);
This will return the size of a file, surprisingly! Use it on all the files
in your docuemnt and add the results.
Regards
Matt.
Email: [EMAIL PROTECTED]
- Original Message -
From: Chamarty Prasanna Kumar [EMAIL
Hi people. I am having some trouble with the PREG functions in php.
Here's what I am trying to do...
First of all I am reading in a file which is 1.5mb's in size, it could be many more,
going up to 8mb's, the contents of the file is input to a string.
The format of the file is as follows...
I would suggest downloading PHPtriad. It installs Apache, PHP and mySQL all
set up and ready to go. http://www.phpgeek.com to get it.
The only resources I have used to teach myself php and mysql is the
documentation provided at www.php.net and www.mysql.com respectively.
Good luck
Matt
The proper content type is text/xml.
--Matt
-Original Message-
From: bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 3:11 PM
To: Tyler Longren
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] xml header
Hmmm. I'm thinking of the http headers.
Assume you have an xml
Did you try adding:
header(Content-Type: text/xml);
To the top?
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 01, 2001 12:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] XML and PHP - dynamic hell
I'm having one page output XML for other sites to
It would be mighty handy for MySQL to have a binary file column type,
like Oracle, where the file was stored externally, outside of the rest
of the table data... Anyone heard of any plans to implement this?
-Original Message-
From: Julio Nobrega Trabalhando
[mailto:[EMAIL PROTECTED]]
,
Matthew Clark.
--
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]
tables)
http://www.nusphere.com/products/tech_library.htm
-Original Message-
From: jimmy elab [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 1:34 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL to Excel with mutiple sheets
Matthew Loff wrote:
http://www.wotsit.org
http://snaps.php.net/
Again, the whole not fully tested issue comes to play... I'd avoid
using these on a production server, obviously. :)
-Original Message-
From: Mike Eheler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 4:04 PM
To: Zeev Suraski; [EMAIL PROTECTED]
Can't be done easily with PHP right now... To get that type of
functionality, you'd need to write it in Perl using the
SpreadSheet::WriteExcel module.
http://homepage.tinet.ie/~jmcnamara/perl/WriteExcel.html
-Original Message-
From: Brian Lee [mailto:[EMAIL PROTECTED]]
Sent:
-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 1:02 AM
To: 'Matthew Loff'; 'Brian Lee'; [EMAIL PROTECTED]
Subject: RE: [PHP] MySQL to Excel with mutiple sheets
Can't be done easily with PHP right now... To get that type of
functionality, you'd need
,
$header
);
?
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 1:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: A tricky one?
Thanks
! my god, I'm advocating clippy :( ... You can then
insert a boolean to mark the file according to their response.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Richard S. Crawford [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
My website has a navigation menu that is written to the browser depending on
what vars are set in the php script. I store all the link names in an
array, then simply do a 'foreach' loop to write the output. This would
allow me to add another menu item by just adding it into the array.
Simple
You can launch IE with an address as a paramater from task scheduler.
Example:
C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://somehost.com/somepath/somescript.php
Matt.
Gab [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'll check with the tech support but nothng
I always stick with PHP for web apps, but I am in a similar situation, I
have to write a script that generates statistics and item reports from a
database... The client wanted them in Excel format... I could have done
CSV, but for the sake of aesthetics, I decided to go with a native Excel
Richard already answered the variable part, but I thought I'd point out
that you need to use double quotes in your HTML tags... Single quotes
are incorrect...
?
echo(P
FORM method=\POST\ action=\join2.php\
text for button
INPUT type=\submit\ value=\Next step\
INPUT type=\hidden\
I was waiting for someone to meantion de Morgan! 10 points for Mr.
Elab. Ha ha...
-Original Message-
From: jimmy elab [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 17, 2001 1:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: alzheimers and confused
de Morgan and Boole, not
was that the second
field overwrote the first. How do you get an array?
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Stefan [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 10:03 AM
To: PHP
Subject: [PHP] Parse POST-Data
If the other application is written in PHP you can use flock.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 11:00 AM
To: Php-General
Subject
How about
pseudocode...
$variable=variablename;
$array = explode(|,$text);
foreach ($array as $key = $value) {
$variable$key=$value;
}
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Jeff Lewis [mailto
if(!isset($dte))
{
$dte=date(j, time()+$ctime);}
You don't need the else statement.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Clint Tredway [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 2:37 PM
To: PHP
I would have to agree on a global scale.
However, strictly in discussion of server-side languages, I haven't seen
ASP documentation as complete/useful as PHP's... I have never had to
use anything besides the PHP manual to solve a problem in writing
something.
-Original Message-
47single=1)
looks pretty good to me and was wondering if anyone has any experiences,
shortcuts etc. to this kind of problem with mail.
________ Matthew
Luchak Webmaster Kaydara
Inc. [EMAIL PROTECTED]
WIN 2000
Blankwhat os was it?!?!?
--
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]
[EMAIL PROTECTED] it doesn't mail. If I try
[EMAIL PROTECTED], or the like, it mails.
I first noticed this problem when inserting addresses into the From:
field and have now found it happening (not) in the To: field.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL
Well hey, if mail() won't send to those addresses, what's wrong with us
testing them? :-)
;)
Can you send to those addresses from a regular email client? If so, can
you
do it from the command line with your MTA?
Of course I am talking about valid addresses, in fact there is at least
one
for is a solution to a PHP/SMTP problem.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Kurt Lieber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 11:57 AM
To: PHP General List
Subject: Re: [PHP] defending PHP mail
More generally, this should work:
$smallarray1=array_slice($bigarray, 0, sizeof($bigarray) / 2);
$smallarray2=array_slice($bigarray, sizeof($bigarray) / 2);
I haven't tested it though...
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 4:32
I have developed a site using PHP and MySQL.
My question:
How do I share the data stored in the database with another site?
Regards,
Matthew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
What prevents you from doing this iteratively, (not loading all 150,000
rows into memory, but processing each row sequentially)?
-Original Message-
From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 29, 2001 11:44 AM
To: Php General MailingList
Subject: [PHP]
I found sessions to be kind of fussy to get working, perhaps that's just
because I didn't have any experience with them until the last site I
did...
A simple call to session_unset() won't erase the session, but should
clear whatever username/passkey (I say passkey, assuming/hoping it's
Response.Clear
Response.Redirect
Doesn't that imply that ASP buffers the output? The problem with
redirecting the browser after you output data isn't a PHP issue, it's
the HTTP spec.
I think the best solution would be to turn on output buffering, then
immediately flush the output buffer when
The only reason I could see that not working is if PHP is typecasting
test to (int) in the second example...
$qty = 0; (string)
test = test; (string)
0 != test (evaluates true)
$qty = 0; (int)
test = 0; (when cast to int)
0 != 0 (evaluates false)
e.g. By comparing an int to a string in
The main manual seems to be down right now, probably being rebuilt...
Take a look at:
http://www.php.net/manual/en/html/
strip_tags() is under String Functions, and has been around for a
while.
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21,
Last time I checked, there is a class for creating tar files in PEAR...
Check your PHP installation...
Once you create a tar file, I'm sure you can filter it through zlib to
create a .tar.gz file.
-Original Message-
From: Georgie Casey [mailto:[EMAIL PROTECTED]]
Sent: Friday, October
Title: Blank
Is there a way to verify if a file is in use
by another user before fopening it?
Matthew
Luchak Webmaster Kaydara
Inc. [EMAIL PROTECTED]
Title: Blank
damn... RTFM. I
just now discovered flock. Sorry 'bout that.
ps. Don't flame me
for being rude to the original poster. I am the original
poster
Matthew
Luchak Webmaster Kaydara
Inc. [EMAIL PROTECTED]
-Original Message-From
Leave the input name as email. If you really want to call it email[],
you should be able to reference this in JavaScript as the object
document.myform[email[]]
If you leave it as email, you can then convert the email variable into an
array using explode() or split() as so:
?php
// on the
document.myform[email[]] seems to give me a syntax error.
Check if your already using you'll need to use single quotes as so:
input type=button name=CheckAll value=Check All
onClick=checkAll(document.myform['email[]'])
(tested on IE 5.5 and NS 4.08, works)
If you leave it as email, you can
Example
?php
exampleLine = R001,23,\2,5\;
preg_match_all (/(\[^\]+\|[^,]+)/, exampleLine, $matches);
for ($i=0; $i count($matches[0]); $i++) {
echo matched: .$matches[0][$i].br;
}
?
Please note, empty elements will not be handled
btw Any Australian employers want a programmer for
Have you tried using curly brackets?
print td$a[B]td{$quotes[$a[B]]}td
Does that work? Just cuious...
-Original Message-
From: Job Miller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 8:44 PM
To: Maxim Maletsky (PHPBeginner.com); [EMAIL PROTECTED]
Subject: Re: [PHP]
use PHP. They'll have to pay a (very
small) monthly fee to have access to it. This is partly as a very loose
security measure, so that not everyone has access to PHP.
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus
The lack of fprintf() has been discussed on this list before, but I'm
not sure what the status is on the PHP development side...
http://bugs.php.net/bug.php?id=1027
-Original Message-
From: Bill Rausch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 7:08 PM
To: [EMAIL
How do I use ereg to check for MSIE 5.5 and above.
eg: eregi((MSIE.[56]),$HTTP_USER_AGENT)
This only gets version 5 and 6 ... but I want 5.5 and above. Any
ideas?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
insert you performed. How do I get that
information with the PEAR DB module?
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.281 / Virus Database: 149 - Release Date
Thanks. That will work quite nicely.
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 1:20 PM
To: Matthew Walker; [EMAIL PROTECTED]
Subject: RE: [PHP] PEAR DB Questions
don't know about pear, but in case you can't do it, there's
a quick set of examples for
how to use the class functions? I haven't done OO programming in a long
time, and I've never done it in PHP.
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
from the query - it's just a
matter of knowing how to get it!
Can anyone help?
I am sorry if the question is confusing, but I can't think of a better
way to explain it at the moment (i'm tired)...
Matthew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
for record 5 //I specifically want record 5
details here
What I meant by 'random' was that it's not in the order returned by
the mysql query.
Matthew
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 3:56 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL
Read the manual. (Déjà vu?)
http://www.php.net/manual/en/function.fread.php
Even has an example that says -- get contents of a file into a string
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 7:42 PM
To: [EMAIL PROTECTED]
Subject:
PROTECTED]]
Sent: Sunday, September 23, 2001 4:11 AM
To: Matthew Loff; 'Steve Werby'; [EMAIL PROTECTED]
Subject: Re: [PHP] Disk Usage
Well, it's an intriquing idea, but I'm not getting any success out of
it. thanks for the suggestion. I'll keep plugging away.
--
Scott Poarch
http://www.globalhost.com
pieces would need to use the same session as if they were on
/our/ server.
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 10:25 PM
To: Matthew Walker
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: Sessions and include()...
I believe:
include
!
-Matt
-Original Message-
From: Scott Poarch [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 22, 2001 10:37 PM
To: Matthew Loff; 'Steve Werby'; [EMAIL PROTECTED]
Subject: Re: [PHP] Disk Usage
I appreciate the help.
I understand the 'du -sk', but what's the (int) all about. Are you
What happens if you use include() to include a file from another server,
and that file sets a session? Does the session get set for the domain of
the wrapper page, or does it get set for the domain of the included
page?
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
error.
Warning: Failed opening 'DB/mysql.php' for inclusion (include_path='')
in /usr/local/httpd/htdocs/test.php on line 2
Help? Please? I'm at a loss as to how to fix this, and I kind of need
to.
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified
it properly. But when I
try and do an include, I get the following error.
Warning: Failed opening 'DB/mysql.php' for inclusion (include_path='')
in /usr/local/httpd/htdocs/test.php on line 2
Help? Please? I'm at a loss as to how to fix this, and I kind of need
to.
--
Matthew Walker
Ecommerce
Checked that. Plenty of permissions.
Anyone else have any idea?
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 1:48 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] include() problem...
Check the permissions on both the directory and
Okay... This is odd. Despite the fact that
'print_r(ini_get(include_path));' returns the right include_path, I
just checked the php.ini file, and lo and behold, there is no include
path set. So... Have I just discovered a bug?
-Original Message-
From: Matthew Walker [mailto:[EMAIL
-Original Message-
From: Jason Bell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 8:32 PM
To: PHP Users
Subject: [PHP] Just for fun:
Here is a question, just for fun:
What is the biggest function (In terms of line count) you have ever
written?
I just finished one
the pointer! :) (The reason for the HASH table is because SHOW
TABLES in MySQL is rudimentary compared to a SELECT and does not sort the same way as
the SELECTS do. I have to get the data from that into a format that I can SELECT
with. Maybe an ARRAY in PHP would be faster?).
Thanks,
Matthew
I whole-heartedly agree with this statement. There are several great Java
clients (including IRC clients) for chatting, but I have never seen a server
side scripting chat implementation worth anything.
- Original Message -
From: Emile Bosch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
801 - 900 of 1089 matches
Mail list logo