] == 1) {
do something here on 2nd pass
} else {
do something here on 1st pass
$_SESSION[NextCourse] = 1;
}
?
Make sure sessions are enabled on your server, you can confirm this by
executing php_info();
HTH,
Warren Vail
-Original Message-
From: Josephson Tracy [mailto:[EMAIL
only displaying the rows you want to show. This is obviously not very
efficient (in fact, with enough rows it may prove impossible because of
memory limitations), but it will produce what appears to be a paged
result.
HTH,
Warren Vail
--
PHP General Mailing List (http://www.php.net
, and
before register globals was turned off, I was finding form variables
that clobbered my session variables (or maybe it was the other way).
Good Luck,
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Dasmeet Singh [mailto:[EMAIL PROTECTED]
Sent: Friday, April 15, 2005 11:04 PM
cases. eBay probably feels they already have a monopoly
on auction sites and don't need to give their stuff away.
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Brian Dunning [mailto:[EMAIL PROTECTED]
Sent: Friday, April 15, 2005 9:57 AM
To: php-general@lists.php.net
Subject
(usually nobody) have permission to
print (execute the lpr command)?
Unless gnome or kde is involved, don't know how you could detect your
printer types, since your program will need to know which pcl (printer
control language) is required.
Good luck,
Anyone have other solutions?
Warren Vail
.
Have you checked out the Road Send compiler? http://www.roadsend.com/ I
don't believe it produces pure native binary either, but I could be wrong
here as well.
good luck,
Warren Vail
-Original Message-
From: Davy Durham [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 9:22 PM
$submit_post=$_REQUEST['submit'];
if ($submit_post=='yes') {
looks like the value in your form is not 'yes' but 'submit'
pinput type=submit name=submit value=submit / /p
if this is not it, perhaps we should see more.
Warren Vail
--
PHP General Mailing List (http://www.php.net
this helps,
Warren Vail
-Original Message-
From: Mulley, Nikhil [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 6:58 AM
To: Adam Williams; php-general@lists.php.net
Subject: RE: [PHP] fopen and http://
May be the path is not the correct ,just check with the Web
Directory
you heard and you may find that someone had another agenda in mind when they
passed along that info. It's unfortunate, but there are lots of people in
the IT field that distort results to justify an already conceived opinion.
go figure,
Warren Vail
-Original Message-
From: Kostyantyn
Good stuff Jamie.
Steve, I believe it may even be possible to compress the file on the fly, or
send it using SSL if that is desirable;
http://www.php.net/manual/en/ref.stream.php describes how to use stream
wrappers.
good luck,
Warren Vail
-Original Message-
From: Jamie Alessio
and relative references in href's
buried in the html are relative to the redirected location and not my
original location, and I would like to subsequently open some of those files
(like a crawler does).
thanks in advance,
Warren Vail
scheduler
that would not process my AT commands. In windoz the AT command is used
to add processes to the schedule.
hope this helps,
Warren Vail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check out PHPdig;
http://www.phpdig.net/
Warren
-Original Message-
From: Jamie Alessio [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 9:22 AM
To: John Cage
Cc: php-general@lists.php.net
Subject: [PHP] Re: Crawlers (was parsing large files - PHP or Perl)
Is there
Try loading he email address to an array from your query;
$addressarray[] = $address;
and when done extracting the rows from your database, parse them into a comma
separated string using
$listofaddresses = implode(, ,$addressarray);
HTH,
Warren Vail
-Original Message-
From: Dave
forget to start php).
hope this helps,
Warren Vail
-Original Message-
From: Eli [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 7:07 AM
To: php-general@lists.php.net
Subject: [PHP] Re: mediator between PHP and Perl (with sessions)
It's quite easy to pass the session
a single PC in most cases), there are a few
exceptions where fixed IP addresses are assigned, but more often not.
Perhaps if you were to identify what you are trying to find out, asking that
question would get you a more definitive answer?
good luck,
Warren Vail
-Original Message-
From
You can find lots of information on your own by reading the manual, always a
good place to start.
Try http://us2.php.net/manual/en/ref.ldap.php
Google is another source.
good luck,
Warren
-Original Message-
From: badlya badlu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08,
I have a number like 1.0122E9 and I want to convert it into a
real number in
a common notation and not in that scientific one (with E).
I have seen that very long numbers are always converted
automaticly to that
notation and I need to insert that number in a MySQL database and in that
Looks like the URL you are trying to passthru is missing a domain, No? ;-)
Warren Vail
-Original Message-
From: Brian Heibert [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 9:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I am new - Having problems displaying something
solution is one that works for you reliably,
and there have to be at least 50 ways to do this. This is just one.
good luck,
Warren Vail
-Original Message-
From: Louie Miranda [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 10:06 PM
To: Murray @ PlanetThoughtful; [EMAIL
, could impact his applications performance.
Warren Vail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. For your
telnet connection from perl look for the net:telnet perl module at
http://www.cpan.org/modules/by-module/Net/ , if you know PHP you will find
perl quite easy I think.
Good luck.
Warren Vail
-Original Message-
From: Mulley, Nikhil [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004
your own mail merge process,
I would recommend against it, unless there is some significant gain by doing
that. I'm guessing that your have already considered this, but are looking
for some other solution for some reason that is not apparent to me.
Good Luck,
Warren Vail
-Original Message
is the same as PHP (free).
Good luck,
Warren Vail
-Original Message-
From: Bosky, Dave [mailto:[EMAIL PROTECTED]
Sent: Monday, October 04, 2004 1:50 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Best and easy html text area replacement tool?
I'm looking for an easy to use html textarea
I may have found something, a perl script that with all the appropriate
pieces turns a page into a jpg image.
http://marginalhacks.com/Hacks/html2jpg/
from there resizing using GD is a snap.
Warren Vail
-Original Message-
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Friday
first established in the browser, and if you are only aware of the time
from the last page, and the cookie goes away, the session will appear to
have been destroyed.
good luck,
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: Thursday
with
your browser, you have bypassed the apache server and PHP interpreter, which
of course, would not allow the PHP code to actually be executed. Not real
sure this is what you might have done, but it's a common mistake.
good luck,
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From
.
Not pretty, but it works well for small trees.
Warren Vail
-Original Message-
From: Mattias Thorslund [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 9:59 AM
To: PHP General Mail List
Subject: [PHP] Hierarchies and MySQL with PHP
Hi,
I wonder what you think are the best (or least worst
enlarging the image). I would also suggest save a .bmp in the
original size for future resizing and adjusting, and save as jpg for
transferring to your website (your visitors will appreciate the smaller jpg
format).
good luck
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Ryan
with conflicts. But you do stand to learn a
lot, or at the very least a lot of things that you will never use again.
good luck,
Warren Vail
-Original Message-
From: Freedomware [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Installing PHP
manager.
One alternative is mainframe COBOL, which clearly will not support what we
want to do.
What would I lose by implementing in Perl (other than my mind)?
thanks in advance,
Warren Vail
[EMAIL PROTECTED]
is using an old product, that I have
only heard of but never used, referred to as server side javascript.
hope this helps,
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Nitin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 10:52 PM
To: Jake McHenry; [EMAIL
privileges at all, a common safeguard, on RH Linux.
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 10:38 PM
To: tirumal b
Cc: PHP-General
Subject: Re: [PHP] ssh command in php script
On Tue, 2003-11-11 at 01
://www.php.net/manual/en/function.set-time-limit.php
As long as you don't have a run away program, I can't think of any reason
not to allow it to have the time it needs to get the job done.
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: PHPLover [mailto:[EMAIL PROTECTED]
Sent
routine.
On the other hand, if the click is the only value to be transfer the hotlink
technique should be adequate.
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Dan Anderson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 5:58 PM
To: Dan J. Rychlik
Cc: PHP List
Subject
Try;
http://www.cpanel.net/docs/cp/
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Dasmeet [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 11:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] CPanel adding POP account
I am having a server that runs CPanel/WHM... I wish
found a better programming resource at
http://cpanel.net/docs.htm
Seems you may be able to access each cpanel function (see the sample PHP
script).
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Warren Vail [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 11:59 AM
Don't all variables registered to a session need to be declared as global?
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 6:15 PM
To: Jeff Stillwall
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Some SESSION Vars
of money selling
training materials and administering the tests. Did you really think
Microsoft got into this side of the business just to improve the quality of
technical consulting.
my 2 cents (ok, maybe 4 cents),
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED
A working public website, that solves a business problem, is a good
credential. I can't help but wonder if it takes more hours to develop a
respectable site or to study and take an exam. Do you suppose the
certification exam might actually be an easier option?
Warren Vail
[EMAIL PROTECTED
this. I tried to use the SITE command to pass a touch command, but that
didn't work.
Other than the obvious places, where do I go from here?
thanks in advance,
Warren Vail
[EMAIL PROTECTED]
Jess,
In your statement;
if($status=='active'){
the conditional inside quotations is treated as a string and not evaluated,
remove the outer double quotes :-
hope this helps,
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Ray Hunter [mailto:[EMAIL PROTECTED]
Sent: Thursday
an additional window on the browser, note that the URL for
the new window can point to another PHP (server side) script to fill it with
information.
You might want to check out the PHP section as well, there are lots of
useful routines there.
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From
include list,
and what kind of security hole would that represent? my test machine is
windows, and my production machine is Redhat Linux, so I need to find a way
to gain access to pear in both environments.
Warren Vail
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
I you are into bit crunching, check out
http://www.dcs.ed.ac.uk/home/mxr/gfx/2d/JPEG.txt
if not, somehow view the jpeg in ie, right click on the picture, and select
properties, look under dimensions.
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto
there are log files that are updated on your server every time someone
accesses one of your web pages.
Good luck,
Warren Vail
-Original Message-
From: Chris Kay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 12:36 AM
To: 'Warren Vail'
Cc: [EMAIL PROTECTED
analysts who respond to reports
of problems made via email. Has anyone had any success with MS Exchange, I
will consider all options, but would prefer to use PHP.
Warren Vail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What you are describing is exactly how session management works, storing
things in a file in the /tmp directory. Perhaps you could consider using
the session save handler functions to store the session data in your
protected database (MySQL?).
Warren Vail
-Original Message-
From
the php3 version, regardless of changes I have
made to httpd.conf, my php3 scripts invoke php4.
Thanks,
Warren Vail
-Original Message-
From: Manu Verhaegen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 12:59 AM
To: Alex Dowgailenko
Cc: [EMAIL PROTECTED]
Subject
complains that it does not have a record of the Post variable values (the
Data Has Expired).
There may be other ways to deal with this, but this is one way that I have
found that works.
Good Luck,
Warren Vail
-Original Message-
From: Deron [mailto:[EMAIL PROTECTED]]
Sent: Friday, December
Interesting because I have used multiple submit buttons on forms for years.
Each can have a different name, and even if I use the same name for all of
them, which I often do, each can have a separate value. Each will cause all
other form fields to transmit their variables in their usual manner,
addslashes() before
updating the column and stripslashes() retrieving it (turns out some of my
variables contained characters that MySQL was sensitive to, and others that
caused serialize/unserialize problems).
Not sure this is your problem, but it's worth checking.
Warren Vail
-Original Message
you are
seeing are produced by a UNION, but I'm not certain). Sybase can compile
its query procedures on the fly, with only slightly longer run times, or you
could create a new procedure from what you find and store that one.
Good Luck,
Warren Vail
-Original Message-
From: Herouth Maoz
by MySQL, not
PHP. Perhaps someday MySQL will have temp tables and SELECT INSERT
capability.
On the other had PHP does a very nice job of looping thru the result set.
Warren Vail
-Original Message-
From: Herouth Maoz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 11:35 PM
[column]));
}
Note: serialize allows me to store the array in a single column and
addslashes makes the data mysql safe (i.e. allows me to store quotes in the
column, just in case they are in the array).
Warren Vail
-Original Message-
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
stored in that field because they are comma
seperated.
Warren Vail [EMAIL PROTECTED] wrote in message
001701c119c8$562b0ca0$b5887ed8@nicker">news:001701c119c8$562b0ca0$b5887ed8@nicker...
What I have used to store an array in mysql is;
$value = addslashes(serialize($array));
$query
How about;
$valuelist = explode(, , $array);
$query = select * from table where column in ($valuelist);
etc.
Warren Vail
-Original Message-
From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 9:41 PM
To: PHP Mailing List
Subject:[PHP
Sorry, mixed this up with your other query;
For this
If(in_array(1, $array)) {
}
Warren Vail
-Original Message-
From: Warren Vail [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 9:57 PM
To: Matthew Delmarter; PHP Mailing List
Subject:RE: [PHP] search array
/php_gd.dll);
good luck.
Warren Vail
-Original Message-
From: Matt Greer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 6:55 AM
To: php-gen
Subject:[PHP] can't get gd working at all
I'm trying to get a simple piece of code involving gd functions to work just
to ensure
I am running php4/mysql/apache in a large NT complex, behind a firewall.
How can I authenticate users to my site using NT authentication? Has anyone
done this?
thanks,
Warren Vail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
When all else fails, check the mainual;
http://www.php.net/manual/en/language.oop.php
appears to be an instance reference (not sure that is the term).
Warren Vail
-Original Message-
From: Adam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 11:35 PM
To: [EMAIL PROTECTED
as an
hour glass, even though the mouse is active and still allows further clicks
on the page.
Has anyone come up with a method of cleaning up this behavior?
Browser is IE on NT.
Warren Vail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
the file
where the second Open works just fine.
Is there a way to allow this first open to work, or cause the open option on
the first download window to be removed?
Warren Vail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
I use indentation to check out the form; missing brace at end? Check it
out.
?php
$usersfile = users.php;
session_start();
session_register(user,pass);
if(isset($user)) $username = $user;
if(isset($pass)) $password = $pass;
if(!$username) {
?
form
User : input
Jon,
Looked like a nice solution, but couldn't get the code to work. Kept going
into an endless loop or wait state somewhere.
still forced to use rexec.
Warren Vail
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 11:06 AM
To: Warren
the options above,
Warren Vail
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 10:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Telnet and PHP
I was doing some research on creating a webbased telnet client and I am
unsatisfied with Java
If you are planning to have a lot of records, you may want to create a
column with just that letter and index it, followed by the full name.
SELECT name from Table
WHERE first_letter = $letter
ORDER by name
should produce pretty fast results if first_letter, name is indexed.
Warren Vail
You'll probably get as many approaches as replies. How about the following;
after you have connected to mysql and selected the database;
$query = SELECT * FROM table;
$result = mysql_query ($query)
or die (Query b$query/b failed. The error message was
.mysql_error ());
// The
and execute
the preceding text as a query and after executing that query, continue on
from the next character.
hope you got it working,
Warren Vail
-Original Message-
From: Andreas Skarin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 9:00 AM
To: PHP General
Subject: [PHP] Code check
to the mysql query processor.
of course when you select the column you need to run it thru;
$resultstring = stripslashes($dbcolumnvalue);
to get back your original value.
good luck,
Warren Vail
-Original Message-
From: Andreas Skarin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20
\r\n if going to windows browser \n if going to
unix
}
To Save a file to the server machine hosting your website;
use normal fopen, fputs, etc (see the manual)
good luck,
Warren Vail
-Original Message-
From: Rosen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 1:04 AM
) and displayed that.
You can identify what actually happened by viewing the session file contents
after your two pages are displayed.
hope this helps,
Warren Vail
-Original Message-
From: Jennifer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 10:55 PM
To: [EMAIL PROTECTED]
Subject
differences.
There are lots of other datetime functions in the manual ;)
Warren Vail
-Original Message-
From: PHPBeginner.com [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 22, 2001 3:09 AM
To: Martin Skjoldebrand; [EMAIL PROTECTED]
Subject: RE: [PHP] Incrementing dates
you can then do
I've seen a number of requests for info on this subject with no answers.
Is anyone working on a tn (Telnet) screen scrapper connectivity toolset for
PHP?
How about tn3270?
Warren Vail
Availabletech.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
101 - 174 of 174 matches
Mail list logo