t as $var= $_POST['foo']; before???
>
The rule of thumb I follow with these and other Associative Arrays is:
when setting the variable its $_POST['foo']
when accessing the variable its $_POST[foo]
so it your example it would be:
$sql = "select * from db where apple = &
Is it possible to change the Return-Path header in PHP on linux? I have
seen all the posts about setting it in the php.ini with the -f switch to
sendmail. But I need to set it based on the person logged into the
page? Right now the Return-Path is set to a default that gets sent to
me (the admini
On Tue, 2003-06-10 at 17:18, Harry.de wrote:
> Hi,
> if i insert into a mysql table a row e.g.
>mysql_query("INSERT into TEST (testfield) VALUES ('This is a test')");
> and the first field is an auto increment (e.g. NR),
> how can i get the value of the auto increment NR i've actually inserted?
On Wed, 2003-05-28 at 11:38, Shaun wrote:
> ok,
>
> basically this is so I can implement page numbering on my search results,
> the user submits the form and I want to be able to send the form results
> back to the same page when the user clicks 'next' or 'previous'.
>
I do the very same thing as
... first off how are
we supposed to help you with the problem if we don't know what is on
line 202. Are we supposed to be clairvoyent, or should we divine the
answer from tea leaves. Without the code, or at least the code around
line 202 you are asking the impossible yes this would make
date_format('%Y-%m-%d', field) from table where ...;
--
Tom Woody
Systems Administrator
Don't throw your computer out the window,
throw the Windows out of your computer!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have found this to the best tutorial I have seen yet on sessions...its
very straight forward, and took care of a lot of questions that I had.
http://www.sitepoint.com/article/319/95
--
Tom Woody
Systems Administrator
Don't throw your computer out the window,
throw the Windows out of
I am working on a simple authentication script, where the user submits a
login and password, the credentials are checked and the user is
redirected to another script. The new script checks the HTTP_REFERER
and if its the original script it continues, otherwise it stops with a
message about being u
sswd command on that user to
> change the password. Or maybe I am wrong, I never done something like
> that.
>
> Thanks for any info!
>
> -mNTKz
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.ph
of programs, you should be using Apache 1.3 if
> you want to use PHP.
>
> There are a few combinations of versions that work together, but
> unless you are willing to put a lot of extra effort and study into
> using Apache 2, stick with 1.3 until the PHP developers announce
>
Have to be a bit more specific, cause I can't reproduce your
problem... Do you have some code examples that show it clearer?
name for client is "COMPANY #1" in DB
name;
echo "This is the name: $name";
?>
Output:
This is the name: COMPANY #1
A # sign is just another character in HTML, and all
or.us
>
> "Life is a gift from God. Wasting it is like destroying a gift you got
> from the person you love most." -- http://www.melchior.us
--
Tom Woody
Systems Administrator
NationWide Flood Research, Inc.
phone: 214-631-0400 x209
fax: 214-631-0800
Don't throw your compu
I am trying to put together a script so that I can upload files to a
php script, with just a URL and can't seem to get my brain around it.
For example, The browser would have a url like:
http://example.com/upload/fileupload.php?filename=C:\filename.txt
Is there a way to do this and I'm ju
URL's for the robot.
>
> regards Wilbert
>
>
> -
> Pas de Deux
> Van Mierisstraat 25
> 2526 NM Den Haag
> tel 070 4450855
> fax 070 4450852
> http://www.pdd.nl
> [EMAIL PROTECTED]
> -
--
Tom Woody
Systems
I may be way off base on this, but is it possible to specify a filename
on a url as in...
The user types in http://server/script.php?filetosend=filename.txt
The script.php recieves that file and processes accordingly? Because
of the way its specified it would be a GET but I am not sure if this i
http://sourceforge.net/projects/php-doc-xls-gen/
On 14 Nov 2002 08:22:00 +
BigDog <[EMAIL PROTECTED]> wrote:
> You might want to do a search on google and see if someone has written
> a class on creating word documents.
>
> I am almost certain that someone has created on.
>
> This will save
I did a search for cgi in the online documentation, and the first item
was this:
http://www.php.net/manual/en/printwn/install.commandline.php
On Mon, 11 Nov 2002 19:10:08 +0100
<[EMAIL PROTECTED]> wrote:
> Hi Maxim,
>
> can you please be so kind to forward me the according link to
> the manual
processing script to determine whether the
> checkbox was checked?
>
> Thanks,
> Don
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Tom Woody
Systems Administrator
NationWide Flood Resear
ndows it works as expected.
>
> Know someone how could i make the '+' left intact? Please help.
>
>
> echo $_POST['test'];
> ?>
>
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: h
--
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Tom Woody
Systems Administrator
NationWide Flood Research, Inc.
phone: 214-631-0400 x209
fax: 214-631-0800
Don't throw your computer out the window,
throw the Windo
20 matches
Mail list logo