Re: [PHP] Escaping '#' Sign

2002-12-11 Thread Tom Woody
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 ?php include dbconnect.inc; //sets up db connection $sel = mysql_query(select name from client where

Re: [PHP] Problem with Include

2002-12-24 Thread Tom Woody
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 Apache 2 support. -- Tom Woody Systems Administrator Don't throw your computer out

Re: [PHP] SSH change password!

2003-01-24 Thread Tom Woody
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.php -- Tom Woody Systems Administrator NationWide Flood Research, Inc. phone: 214-631-0400 x209 fax: 214-631

Re: [PHP] Resending POST Variables

2003-05-29 Thread Tom Woody
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 you,

Re: [PHP] mysql - get actual row

2003-06-10 Thread Tom Woody
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?

[PHP] Setting Return-Path header for mail() on Linux

2003-06-13 Thread Tom Woody
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

Re: [PHP] Re: Difference between $_POST[foo] and $_POST['foo']?

2003-06-17 Thread Tom Woody
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 = '$_POST[foo]'; -- Tom Woody In a world without boundaries why do we need Gates and Windows

[PHP] HTTP_REFERER security implications?

2003-03-10 Thread Tom Woody
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

[PHP] Sessions Tutorial [was: Re: [PHP] Another questions about usning session.]

2003-03-12 Thread Tom Woody
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 snip snip -- Tom Woody Systems Administrator Don't throw your computer out the window, throw the Windows out

Re: [PHP] time() question

2003-03-13 Thread Tom Woody
...; -- 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

Re: [PHP] What do I do wrong?

2003-03-13 Thread Tom Woody
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 me a troll... -- Tom Woody Systems

Re: [PHP] How to get linefeed from textfields registered in mysql?

2002-10-28 Thread Tom Woody
://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 Windows out of your computer! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Plus sign changing to space in html form

2002-10-28 Thread Tom Woody
? Please help. ? echo $_POST['test']; ? form actiom='test.php' method=POST input type=text value='' name=test input type=submit value='submit' /form -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tom Woody Systems

Re: [PHP] How do I check if a checkbox has been checked?

2002-11-01 Thread Tom Woody
://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 Windows out of your computer! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] starting recompiled php as a cgi-interpreter

2002-11-11 Thread Tom Woody
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

Re: [PHP] how to generate ms-word files

2002-11-14 Thread Tom Woody
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 you

[PHP] Specifying file to send in url...

2002-11-15 Thread Tom Woody
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

Re: [PHP] catching a robot or spider

2002-11-20 Thread Tom Woody
- 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 Administrator NationWide Flood Research, Inc. phone: 214-631-0400 x209 fax: 214-631-0800 Don't throw your

[PHP] Automatic file upload...

2002-11-21 Thread Tom Woody
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

Re: [PHP] Decrypt Password

2002-11-26 Thread Tom Woody
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 computer out the window, throw the Windows out of your computer! -- PHP General Mailing List (http