i might be misunderstanding you, but anytime you need dynamic variable
names, you'll want variable variables...
$count = '123';
$name = count$count; # results in $name being 'count123'
$$name = 'something'; # results in $count123 = 'something'
jack
-Original Message-
From: Tyler
On Tue, Sep 11, 2001 at 11:14:30AM -0400, Michael Kimsal wrote:
:
: Perhaps you should just use cold fusion then, if you're that
: hot and heavy into tag-based languages.
:
: tagservlet.com has a Java/CF hybrid which may hold some interest.
:
: PHP's strength, IMO, is that it's NOT a tag-based
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Kyle Smith) wrote:
Can someone please just run me through the different sections of the mail
function please cause i understand you can change the from address etc aswell
It's in the docs, examples and all.
Like the subject says, is there a downloadable version of the Annotated
PHP Manual? I'm not always connected to the Internet, so this would be
a great help. Thanks in advance.
--
Eugene Lee
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
http://php.net/download-docs.php
-Original Message-
From: Eugene Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 9:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] downloadable annotated PHP manual?
Like the subject says, is there a downloadable version of the Annotated
On Wed, Sep 12, 2001 at 10:14:29PM -0400, Jack Dempsey wrote:
: Eugene Lee [mailto:[EMAIL PROTECTED]] asked:
:
: Like the subject says, is there a downloadable version of the Annotated
: PHP Manual? I'm not always connected to the Internet, so this would be
: a great help. Thanks in
hiya
I have several scripts that send mail from web pages made in php.. now these
pages all work fine.
now all of a sudden php has stopped sending mail and I don't know why
System info
Unix box running Solaris 2.6
apache 1.3.12
php 4.0.4pl1
using sendmail for the emails
php.ini mail related
On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
hiya
I have several scripts that send mail from web pages made in php.. now
these pages all work fine.
now all of a sudden php has stopped sending mail and I don't know why
System info
Unix box running Solaris 2.6
I want to searcg another site for a keyword.If its found I want all the details of
that page to be shown in my site page.
How is it done. ?
Kindly inform me if you know the way.( I am rather new to php)
Chinmay Varma
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
From: David Robley [EMAIL PROTECTED]
To: Peter Houchin Sun Rentals STR Manager
In article 022301c13bcc$d489eaa0$3201a8c0@kadath,
[EMAIL PROTECTED] (Roy Wilson) wrote:
What is the best method to allow for nesting or
associating these two classes, so the second can refer to the first?
http://php.net/manual/en/keyword.extends.php
--
CC
--
PHP General Mailing List
On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
hiya
I have several scripts that send mail from web pages made in php..
now these pages all work fine.
now all of a sudden php has stopped
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
From: David Robley [EMAIL PROTECTED]
To: Peter Houchin Sun Rentals STR Manager
Hello,
What is the best way to accomplish the following?:
Connect to MySQL database
Execute a query
Fetch a row from that query (mysql_fetch_array)
Based on the data from the original query, generate a second query
Execute the second query
Fetch a row from the second
Supplied argument is not a valid MySQL result resource in . on line 52
Line 52 is the line where I fetch the row from the second query.
Don't keep doing a mysql_connect on each loop.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Here is a chunk of code:
while( /hidden name=(.*?)/gs ) {
# see if there was some kind of error
if(index($1, ERROR) == 0) {
$errstring = $1;
$errstring =~ ( /value=(.*)/ );
print Error on preview is:
Here is a line of data:
hidden name=PAYMENT_UNITS value=1
How could I extract data from the above to get the following
$PAYMENT_UNITS=1
Thanks,
Randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
-Original Message-
From: speedboy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 10:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Invalid MySQL result resource
Supplied argument is not a valid MySQL result resource in . on line 52
Line 52 is the line
On Thu, 13 Sep 2001 13:53, Dan Harrington wrote:
Hello,
What is the best way to accomplish the following?:
Connect to MySQL database
Execute a query
Fetch a row from that query (mysql_fetch_array)
Based on the data from the original query, generate a second query
Execute the
On Thu, 13 Sep 2001 14:15, Dan Harrington wrote:
-Original Message-
From: speedboy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 10:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Invalid MySQL result resource
Supplied argument is not a valid MySQL result
$productresult = mysql_query($productquery);
$productinfo = mysql_fetch_array($productresult); //THIS line produces the error
Well, you don't check for errors. Always always always perform proper
error checking:
$productresult = mysql_query($productquery) or die(mysql_error());
Do that and
On Thu, 13 Sep 2001 14:22, David Robley wrote:
Here's what's going on.
$connection = mysql_connect($server, $user, $pass);
mysql_select_db($db);
$query = select * from shoppingcart where PHPSESSID = '$PHPSESSID';
$result =
You'd somehow need to keep the session around, but mark it as revoked
You then just check that flag/marker and print out a message:
if ($revoked){
echo Session Revoked;
exit;
}
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?
$header=
Content-type: application/pdf
Content-type: application/x-octet-stream
Content-Disposition: inline; filename=D:\\Pdf\\0226138097(57-77).pdf
Content-Length: $len;
You need a separate header() call for each header.
You *DEFINITELY* do *NOT* want a newline in front of the first
You can use just the one table with a parent for each sub-category:
alter table category add parent int(11);
idparentname
1NULLfruit
21apple
31banana
41coconut
Now, suppose you need the sub-categories of the record with ID #1
(IE, all the
http://php.net/FAQ.php
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Hon-Chi Ng [EMAIL
Getting your ISP to support IMAP should be your first attempt...
After that, you can *PROBABLY* suss out a way to talk to the POP server
the same way an email client would using http://php.net/fsockopen and
finding out what the protocal for POP3 is.
You'll need to use http://php.net/fputs and
Do you have telnet/SSH access?
You can simple fopen() the FTP file and read it, or use PHP's FTP functions
(not sure which will be easier to provide username/password) and then use
http://php.net/explode to extract the fields.
You'll also want to read:
man 5 crontab
which is the one that
I don't think GetImageSize() has had the URL-fopen wrappers folded into it.
You're simply going have to read the file (or at least part of it) and find
the image size that way.
Not that GetImageSize digs into the file to find width and height encoded in
the file format, not the actual number of
You need --with-zlib and you need zlib installed.
http://php.net/zlib
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
-
Hello! You wrote:
TB What am I doing wrong?
You should use this line:
$y = mysql_fetch_array ($getrec_result, MYSQL_ASSOC);
--
Andrew Perevodchik
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On Thu, 13 Sep 2001 13:43, Peter Houchin Sun Rentals STR Manager wrote:
SNIP headers: didja know dtmail was putting them in?
On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager
wrote:
hiya
I have
hi.
do all people in our group safe from terror in America ??
-
Best regards.
Nafiseh Saberi
Iran - Shiraz
Try to always happy and hopefull.
The smooth sea never made a skillful mariner.
Love your enemies , it will cause to try
Hi,
I am trying to find out the the best way to do the following:
I have a script that select records from a table. The problem is that I
need to limit the rows to 20. I know that I can use limit 20. But what I
want to do is give the view a link to the next 20 till all the records are
shown.
Hi Sean,
Sorry for the delay with this.. Been a rather busy month.. However your help
on this project has been very useful..
Sean C. McCarthy wrote:
Mike Gifford wrote:
Sean C. McCarthy wrote:
If you mean http://www.webtechniques.com/archives/1998/02/lerdorf/ what
inserts in the DB is
On Thu, 13 Sep 2001 14:55, Adrian D'Costa wrote:
Hi,
I am trying to find out the the best way to do the following:
I have a script that select records from a table. The problem is that
I need to limit the rows to 20. I know that I can use limit 20. But
what I want to do is give the view
Alright,
I can't believe I'm so blind.
And yes, I will always always perform error checking from this point on
and to eternity. :-)
I'm out of my mind for some reason or another. Can't think straight.
Maybe because I've got CNN on the TV turned on. ick.
Thanks
-Original Message-
101 - 137 of 137 matches
Mail list logo