[PHP-WIN] HTTP_SERVER_VARS["DOCUMENT_ROOT"] on IIS Windows 2000

2001-07-22 Thread Stephen
ables, and $DOCUMENT_ROOT is not listed. I don't think this is the same as doc-root in the php.ini. Can somebody advise as to what I am doing wrong? I am trying not to install the ISAPI DLLs. Thank you for your time. --Stephen -- PHP Windows Mailing List (http://www.php.net/) To unsu

[PHP-WIN] Re: HTTP_SERVER_VARS["DOCUMENT_ROOT"] on IIS Windows 2000

2001-07-23 Thread Stephen
James, Thank you. This is precisely what I wanted to know and how to get around this. The define() idea is pretty ingenious. =) Thanks, Stephen - Original Message - From: <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECT

Re: [PHP-WIN] GD under w2k

2003-03-23 Thread Stephen
must download the zip file. Good luck Stephen - Original Message - From: "Franz Max" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 23, 2003 5:58 PM Subject: [PHP-WIN] GD under w2k > Hi all, > > I would like to install GD for PHP under W200

Re: [PHP-WIN] Better Error Trapping!

2003-04-03 Thread Stephen
r occured while doing XYZ', __FILE__, __LINE__, MySQL_error() ); I suggest you come up with a similar solution. Stephen - Original Message - From: "Matt Babineau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 03, 2003 4:48 PM Subject: [PHP-WIN] Bet

Re: [PHP-WIN] PHP Editor

2003-04-04 Thread Stephen
Or for a slightly more technical option, I like using maguma studio light. Its free and has nice features. For a full list, try this site thou: Full list of editors http://phpeditors.dancinghippo.com/ My favourite editor http://www.maguma.com/en/lightdownload.html - Original Message - F

Re: [PHP-WIN] still sessions

2003-04-04 Thread Stephen
will be started WHEN session_start() is called Stephen - Original Message - From: "Iggy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 04, 2003 5:21 PM Subject: Re: [PHP-WIN] still sessions > I have done this million times, but it doesn't

Re: [PHP-WIN] Re: Display new Page after Form is processed

2003-06-06 Thread Stephen
No, you can. You can use header() at any time providing that absolutely nothing has been output to the users browser. So, don't use any echo or print functions and it should work fine - Original Message - From: "The.Wiz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 06, 2

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-14 Thread Stephen
Which just goes to show some people will say anything... I don't think this has anything to do with register globals (Sorry toby). Undefined index sounds like php is just warning you that you are using a variable without a value. Since you are using a form to send data, this can occur. To be hones

Re: [PHP-WIN] Pls help- can't load GD2 extension php_gd2.dll in PHP

2003-06-14 Thread Stephen
>From my php.ini file: ;GD2 is used for image creation extension=php_gd2.dll Are you sure that the php_gd2.dll file is in the extension directory specified? (Below is where my extension directory is, so my php_gd2.dll is in c:\server\PHP\extensions\php_gd2.dll) ; Directory in which the loadable

Re: [PHP-WIN] Php_gd.dll

2003-06-14 Thread Stephen
That means that you somehow have got them included twice! Are you trying to use gd and gd2 at the same time? I do not beleve that you can run both GD and GD2, as they use the same functions (hence the pop up error messages) Stephen - Original Message - From: "Wential" <[EM

Re: [PHP-WIN] Using the installshield vs manually

2003-06-15 Thread Stephen
only use the server for beta testing/development, install shield is fine on its own. Otherwise, it is best to customise the php.ini and check the server settings (Which is almosts as time consuming as just installing manually!). Stephen - Original Message - From: "Daniel Crompton&quo

Re: [PHP-WIN] Help please: undefined index in sample code

2003-06-16 Thread Stephen
Toby, $_POST should exist even if register globals are on! Thats why I said it would probably be nothing to do with it. Unless I am mistaken Stephen - Original Message - From: "toby z" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "Wind

Re: [PHP-WIN] Back button error

2003-06-16 Thread Stephen
Its a feature of IE. It stops you going backwards to a page which was generated when you sent form data to it. There is no way around this, so you will need to find a way around your problem (A manual "<-- Go Back" link perhaps?) Stephen - Original Message - From: "

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-20 Thread Stephen
the username and password used for your MySQL account. Stephen P.S. This is very much a PHP issue, as it is to do with php connecting to MySQL rather than MySQL itself. "If you don't have something useful to say, don't say anything!" - Original Message - From: &q

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-20 Thread Stephen
pconnect as this establishes a permanent connection. This means even when the user leaves your site, your MySQL is STILL CONNECTED! It is much less resouce intensive just to use mysql_connect, as that way the connection is automatically closed when the php page is finished being made. Stephen Yes, I am

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-21 Thread Stephen
once you get used to it theres a lot of helpful information waiting to be found! Stephen - Original Message - From: "Ildiko Nyari" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 10:57 PM Su

Re: [PHP-WIN] multiple mails problem

2003-06-21 Thread Stephen
I believe you can use multiple emails in the BCC field by seperating them with , Otherwise, you could always send each email individually, although this method would be more resource intensive. I'm almost 100% sure it is possible to specify multi BCC fields. Stephen - Original Me

Re: [PHP-WIN] where to find dll files

2003-06-22 Thread Stephen
If you download the php.zip file from the php website it contains all the extensions including gd2. It also contains all the files that the installer has. Stephen - Original Message - From: "Melih Onvural" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday,

Re: [PHP-WIN] where to find dll files

2003-06-22 Thread Stephen
will have to compile it yourself from the source code. This would be found on the development website for the particular .dll you wanted. Why would be the obvious question? What is wrong with the standard .dll files? Stephen - Original Message - From: "Stephen" <[EMAIL P

Re: [PHP-WIN] Using PHP4

2003-06-22 Thread Stephen
Sorry, you will need to be a bit more detailed than that. Where is this file? How are you trying to open it? What error message do you get? Stephen - Original Message - From: "Mathias" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 22, 2003 3:5

Re: [PHP-WIN] MOD L33T INFORMATION ONLY WORKS ON APACHE 1 NOT APACHE 2 ETC

2003-06-22 Thread Stephen
This a PHP helplist. We deal with php issues. Your issue is a Apache/Mod l33t issue. I suggest looking somewhere else for support Stephen - Original Message - From: "Mark Clarkstone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 22, 2003 8:59 PM

Re: [PHP-WIN] Re: Problem on passing value.

2003-06-23 Thread Stephen
KIE['x'] and so on. I strongly suggest reading more about the new variables at http://uk2.php.net/manual/en/language.variables.predefined.php Stephen P.S. The variables are case sensitive... ie they have to be written all in capitals! - Original Message - From: "Cristian MAR

Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Stephen
$_SESSION['MyVariable'] = False; Thats as good as unsetting it. And no, if your using register globals as off (Like all good coders should!), then session_unregister won't work Stephen - Original Message - From: "Matt Babineau" <[EMAIL PROTECTED]> To:

Re: [PHP-WIN] http://localhost/text.php why does it download and can't be seen in IE ?

2003-06-25 Thread Stephen
ildiko If it tries to download the file, then Apache is not set to parse PHP files properly. You need to find a section that looks similar to below. You must make sure that the line AddType application/x-httpd-php .php is in that section as shown below. Stephen # # AddType allows you to tweak

Re: [PHP-WIN] Why is PHP not recommended with Apache 2.0?

2003-06-26 Thread Stephen
not get it to install. It is up to you to risk it if you wish. Stephen - Original Message - From: "Jeff Waldock" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 11:11 PM Subject: [PHP-WIN] Why is PHP not recommended with Apache 2.0? &g

Re: [PHP-WIN] Re: or die problem

2003-06-27 Thread Stephen
Dan, mssql_query($sql); // or die ("insert failed") When you use or die, you must NOT have a ; on the end of the mssql_query eg mssql_query( $MyQuery ) OR die( 'Error' ); Notice the ; only goes on to the end of the or die command. Stephen - Original Message - F

Re: [PHP-WIN] Re: or die problem

2003-06-27 Thread Stephen
e query returns false"; Stephen - Original Message - From: "Charles P. Killmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003 6:10 PM Subject: RE: [PHP-WIN] Re: or die problem If you notice he has it commented out. I doubt that that was

Re: [PHP-WIN] Survey question of sorts - "editors" and "development environments" have been generically mentioned in various emails to this list ... I'm interested in

2003-06-29 Thread Stephen
Rob, Personally, I like Maguma Studio for PHP. It has all the usual highlighting, function completing/command listing and so on. Also, I find it can open most files which contain text... quite handy! http://www.maguma.com/en/index.html Stephen - Original Message - From: "

Re: [PHP-WIN] SQLyog 3.51 Released

2003-06-30 Thread Stephen
Interesting idea, but do you think many people will pay the money when they is already a high quality php - mysql interface available (phpMyAdmin). http://www.phpmyadmin.net/ Stephen - Original Message - From: "Karam Chand" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]&

Re: [PHP-WIN] Re: Undefined variables

2003-07-02 Thread Stephen
e public, then error messages should go to a log file and not to the browser, so you will still want to know about problems in your code! (EG: such as using an array function on a string... using your setting won't tell you you've made the mistake!) Stephen - Original Message -

Re: [PHP-WIN] Re: include within html

2003-07-03 Thread Stephen
Luis, Hmm I don't seem to have recieved your original email... However, for the record, you need to put php tags ( ) into the include file if you want it executed! Stephen - Original Message - From: "Luis Moreira" <[EMAIL PROTECTED]> To: "Luis Moreira&quo

Re: [PHP-WIN] how to make the Apache recognize the c:/php/sapi/php4apache.dll - http://localhost/_MMServerScript/MMHTTPDB.php

2003-07-08 Thread Stephen
It is also worth noting that php4ts.dll must be in the same directory as php4apache.dll. You can find php4ts.dll in the php root directory (In your case it looks like it should be in c:/php) Stephen - Original Message - From: "Ildiko Nyari" <[EMAIL PROTECTED]> To: &

Re: [PHP-WIN] Re: php-windows Digest 11 Jul 2003 19:46:14 -0000 Issue 1820

2003-07-12 Thread Stephen
sending, and providing IDs which are "old" are deleted you should not have any problem. As for making the unique ID, using the microtime() function to get the time with miliseconds should work quite well. Stephen - Original Message - From: "Neil Smith" <[EMAIL

Re: [PHP-WIN] Back button error

2003-06-17 Thread Stephen
be able to go back and forward between the pages without any problems. More of a work around than a solution... Good Luck Stephen - Original Message - From: "Harpreet" <[EMAIL PROTECTED]> To: "Windows Helplist (PHP)" <[EMAIL PROTECTED]> Sent: Tuesday, June 1

Re: [PHP-WIN] email confirmation

2003-08-15 Thread Stephen
Just a minor point... You are creating $msg before you have made the confirmation ID. This means your message does not contain the confirmation id as it has not been created... Stephen - Original Message - From: "Anthony Ritter" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: [PHP-WIN] db connection php & mssql & win2k

2003-08-20 Thread Stephen
Giko You will need to tell us what the error message it is you get before we can help you. Stephen - Original Message - From: "giko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 9:06 AM Subject: [PHP-WI

Re: [PHP-WIN] Problem writing to a file

2003-09-10 Thread Stephen
.txt",$cr.".doc"); As you can see, it makes it much more obvious what does what, and so easier for you/others to come back to in a few months time to make changes to. Don't be afraid to name your variables properly! Stephen -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Extracting images from active directory using php

2003-09-10 Thread Stephen
luck someone with more experiance in this field will read your email in the not to distant future. Stephen - Original Message - From: "Simon Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 1:19 PM Subject: [PHP-WIN] Extracting

Re: [PHP-WIN] free windows editor with ftp?

2003-09-10 Thread Stephen
I have to agree with these two, although the latest non beta version has a small problem with its code highlighting. However, this has (apparently) been fixed in beta. It is the best program I have found, and it can open a huge range of files! Stephen - Original Message - From: "J

[PHP-WIN] Error: illegal character I need help

2007-07-26 Thread Stephen
if(document.AuthChangesForm.elements[i].type == \"checkbox"\ && document.AuthChangesForm.elements[i].name == SwitchName ) Can anyone help me with this. I hope it is the only thing that is stopping this program from running. -Stephen- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP-WIN] Re: Error: illegal character I need help

2007-07-26 Thread Stephen
if anyone want's to take a look at the whole code e-mail me and i'll send it to you if you feel liek helping me. I feel like I have not set my PHP up right or something. ""Stephen"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am trying t

Re: [PHP-WIN] Error: illegal character I need help

2007-07-27 Thread Stephen
\Apache2.2\\htdocs\\wle_form.php on line 1074, referer: http://192.168.0.102/wle.html so it appears that I have mutiple errors in the script, I would like someone to check this out for me. If someone is willing to work on the script then please let me know. I would work on it myself, but I have l

[PHP-WIN] PHP 4/5 Differences.

2007-07-29 Thread Stephen
I have a script that requires PHP 4. I am using the latest version of PHP 5. I am having problems with that script. Would there be any major changes that could stop me from running the script. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Small Help

2007-07-31 Thread Stephen
I'm kind of trying to do this quickly. Can anyone give me some PHP code that will let me link to a different image if $veriable = blah blah blah. I need it for 4 different options. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Small Help

2007-07-31 Thread Stephen
also when the user registers. is there a peice of code that will let me send myself and e-mail informing me? ""Stephen"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm kind of trying to do this quickly. Can anyone give me some PHP code >

[PHP-WIN] Help with if

2007-08-06 Thread Stephen
i'm tryin to get the if command to work on my site so that I can get the buttons to show for registering if a certain user is at the first rank. The current code that I have is as follows; https://www.paypal.com/cgi-bin/webscr"; method="post"> https://www.paypal.com/en_US/i/btn/x-click- but24

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stephen
i did take out the ) after them both and it still is not working. I have copy and pasted it, I just removed the huge blog of info that was given from PayPal that is not important. "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Stephen wrote: >>

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stephen
do not > match. > > Also, is Unregistered a defined type? > If not, how do you compare a variable ($rank) against it ? > > > Luis > > > -Original Message- > From: Stephen [mailto:[EMAIL PROTECTED] > Sent: segunda-feira, 6 de Agosto de 2007 16:31 > To: php-wi

[PHP-WIN] Php Sessions - Well, they don't work :-\

2002-10-14 Thread Stephen Edmonds
g for cookie ID ( PHPSESSID=7c7b9b50c724fc18c59c436d78b4992d ) So, as you can see, Session_Start(); has actually started a NEW session rather than the old session refered to in the session cookie. This is most annoying... and I have no idea what could be causing it. Thank you for your time. I h

Re: [PHP-WIN] PHP and Apache 2

2002-10-26 Thread Stephen Edmonds
Aparently, there are some major issues with it, but someone got it working. >From the PHP installation help mail list: Quote Starts Hey, get this.. I have a fully functional Apache 2.0.43 and PHP 4.2.3 running on Win2k. But you are right

[PHP-WIN] GD2 and PHP

2002-10-28 Thread Stephen Edmonds
tions I found at PHP beginner, but still no luck. Any ideas? Ty Stephen Tried code: imageTTFtext( $Button_Image, $FontSize, 0, $X_Coord, $Y_Coord, $Colour_Button_Text, "./BERNHC", $Button_Text ); and imageTTFtext( $Button_Image, $FontSize, 0, $X_Coord, $Y_Coord, $Colour_Button_Text

Re: [PHP-WIN] spam protection boxes

2002-10-28 Thread Stephen Edmonds
I suggest using GD to generate the images in PHP then output them to a browser. http://www.php.net/manual/en/ref.image.php I use GD 1, as I have had issues loading fonts into GD 2 Good luck Stephen - Original Message - From: "Dash McElroy" <[EMAIL PROTECTED]> To:

Re: [PHP-WIN] configuraton of mail server with PHP/Apache

2002-10-29 Thread Stephen Edmonds
it is a local email address. However, when using php to send an email to [EMAIL PROTECTED] (for example) I need the redirection feature enabled. Otherwise php returns an error! Hope this helps Stephen -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP-WIN] Random Numbers Script

2002-10-29 Thread Stephen Edmonds
andom numbers like below 1220 8273 For more infomation, take a look at http://www.php.net/manual/en/function.rand.php Hope this helps Stephen - Original Message - From: "Raheel Hussain" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 200

Re: [PHP-WIN] Date Increment Problem

2002-10-30 Thread Stephen Edmonds
of seconds to figure out when tommorow is $CurrentTime = time(); $TommorowTime = $CurrentTime + ( 60 * 60 * 24 * 3 ); You can then use date() to transform that number in to human form $HumanDate = date( d/n/y H:i, $TommorowTime ); print $HumanDate; Hope this helps Stephen - Original Message

Re: [PHP-WIN] Date Increment Problem

2002-10-31 Thread Stephen Edmonds
60 seconds in an minute 60 minutes in an hour 24 hours in a day 3 days needed therefor: 60 * 60 * 24 * 3 Its worth noting there are 3600 seconds in 1 hour... so you could use 3600 * 24 * 3 - Original Message - From: "Constantin Baciu" <[EMAIL PROTECTED]> To: "Ste

Re: [PHP-WIN] 2 Issues for Mail() in Win/PHP4-

2002-11-02 Thread Stephen Edmonds
his is my variable".$variable."\n\nIts nice"; I can't think of a good way to explain this... so think of ".$variable." as a way of making php parse $variable. It can also be used with functions, so is quite handy to know Oh well, I tried. Sorry its not a bit clearer Step

[PHP-WIN] Print or Echo?

2002-11-09 Thread Stephen Edmonds
This is not strictly a help question, but more of a do you question. Simply, do you use print, or do you use echo? Personally, I use print. I like the way its set out, and find it easier to understand code. But then again, that was just the way i learnt php. What do you think? Stephen

[PHP-WIN] Serious Problem - Server Crashing

2002-11-10 Thread Stephen Edmonds
mplates/BlackSoul/images/folder_lock.gif HTTP/1.1" 200 454 "http://scryt.no-ip.com/members/phpBB2/index.php"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" --- SYSTEM CRASHED --- Okay, I give up. I had no idea what could be causing it. Anyone got any ideas/want more

[PHP-WIN] Serious Problem - Server Crashing

2002-11-11 Thread Stephen Edmonds
is a mystery to me... Anyway, its fixed now and hopefully it won't happen again. Thank you for all your help And no, Apache is still evil :p Stephen -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] set up mysql without winmysqladmin?

2002-11-15 Thread Stephen Edmonds
On my Windows XP System, I only ran WinMySQLAdmin once. Now whenever my PC loads, MySQL comes online with it. I suggest you try closing WinMySQLAdmin, restarting, then seeing if you can access the database Stephen - Original Message - From: "A. J. McLean" <[EMAIL PROTECTED]

Re: [PHP-WIN] Variable problem

2002-11-18 Thread Stephen Edmonds
splays * LOTS of white Space :-(* ltrim() does the same but ONLY at the start of a string (IE: Space at the end is kept) $Variable = " LOTS of white Space :-( "; ltrim( $Variable ); echo "*".$Variable."*"; displays *LOTS of white Space :-( * Hop

Re: [PHP-WIN] php 4.2.3, gd2, freetype 2 and still a problem with truetype fonts

2002-11-18 Thread Stephen Edmonds
I have the same problem with GD2. In the end I gave up and went back to 1.3.somin (It comes with the php distibution). The older version works, but does uses a slightly different syntax and has not got the most advanced features of GD2 (Such as drawing a filled arc!) - Original Message - F

Re: [PHP-WIN] PHP variable

2002-11-19 Thread Stephen Edmonds
wrong line to change!) error_reporting = E_ALL to error_reporting = E_ALL & ~(E_NOTICE | E_USER_NOTICE) ; display all errors and warnings This will make php only show the errors which affect the running of your scripts, not the notices such as 'Empty Variables' Hope this helps Stephen

Re: [PHP-WIN] parse error

2002-11-19 Thread Stephen Edmonds
*sighs* Very simple answer. else CAN NOT have arguments EG if ( x is true ) { do this } elseif ( y is true ) { do this } else { print "Y is not true, X is not true"; } (The code above is not real code, it is an example of how if, elseif and else work) Change your else( $submit ) to else You do

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Stephen Edmonds
if ( $FormIsSent == "My-String ) { process form header( "Location: url" ); } else { display form } I use this technique on my sites all the time. The only restriction is you can't have any output before the header. If there is an error in the form, store it in an error variable: $error[NameForEr

Re: [PHP-WIN] Who is on line?

2002-11-28 Thread Stephen Edmonds
You would have to store when a user visits a page into a database and have some sort of time limit on when you remove them, or remove them when they logout/visit another page type thing Basically... database interactions - Original Message - From: "mst" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [PHP-WIN] Who is on line?

2002-11-28 Thread Stephen Edmonds
Connection closed... This means you can not tell if a user is still on your site, as the connection is closed. Stephen - Original Message - From: "mst" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 28, 2002 2:56 PM Subject: Re: [PHP-WIN] Who is on li

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Stephen Edmonds
to the original page. You can also send variables back with the user via a query string, although this does have security implications Stephen - Original Message - From: "Max Graham" <[EMAIL PROTECTED]> To: "Rich Gray" <[EMAIL PROTECTED]>; <[EMAIL PROT

Re: [PHP-WIN] user system using sessions and cookies?

2002-12-04 Thread Stephen Edmonds
directs to login.php?error=X where X is a pre-defined error number (e.g. 1 = bad username/pass, 2 = suspended) Good luck Stephen - Original Message - From: "Kieran Hall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002

Re: [PHP-WIN] trouble with update from php 3 to php 4.2.3

2002-12-04 Thread Stephen Edmonds
include takes the base directory to be the same directory the script is in. e.g. Running the file c:\my_web\Stephen\index.php include( "hello.php" ) this includes the file c:\my_web\Stephen\hello.php Hope this helps Stephen - Original Message - From: "Omar" &l

Re: [PHP-WIN] socket timeout

2002-12-05 Thread Stephen Edmonds
from these)' Stephen - Original Message - From: "Gareth Thomas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 4:55 PM Subject: [PHP-WIN] socket timeout Hi, I am attempting to timeout a socket_read() that is par

Re: [PHP-WIN] hello there.

2002-12-06 Thread Stephen Edmonds
terglobals.php Use phpinfo(32); to list all variables in a script, quite a good debug tool Stephen - Original Message - From: "christopher calicott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 3:02 AM Subject: [PHP-WIN] hello there. &

Re: [PHP-WIN] mystery line

2002-12-06 Thread Stephen Edmonds
Only if you circle your computer 3 times and tap your heels together. Or was that tap your heels together 3 times, then circle your computer? One of the two... - Original Message - From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP Windows Help List" <[EMAIL

Re: [PHP-WIN] newbie question (forms)

2002-12-12 Thread Stephen Edmonds
wrong line to change!) error_reporting = E_ALL to error_reporting = E_ALL & ~(E_NOTICE | E_USER_NOTICE) ; display all errors and warnings This will make php only show the errors which affect the running of your scripts, not the notices such as 'Empty Variables' Hope this helps Stephen

Re: [PHP-WIN] Warning messages

2002-12-16 Thread Stephen Edmonds
oes, I may be able to help Stephen - Original Message - From: "Andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 6:19 PM Subject: [PHP-WIN] Warning messages > what do I change in my php.ini file to stop these annoying warning notic

Re: [PHP-WIN] Warning messages

2002-12-16 Thread Stephen Edmonds
am not familiar with them since I use my own windows host (no restrictions). Good luck Stephen P.S. Try calling phpinfo(32) and look for the _SERVER["COMSPEC"] or something similar. That should tell you the path to your file where the .php file lies, then its just a matter of

Re: [PHP-WIN] Cookies working on test but not my application

2002-12-17 Thread Stephen Edmonds
When calling set_cookie( ), it is generally best only to give the first 3 arguments ( Variable Name, Variable Value, Expire time ). Good luck Stephen - Original Message - From: "George Pitcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17,

Re: [PHP-WIN] Cookies working on test but not my application

2002-12-19 Thread Stephen Edmonds
nds from that date. I then put +3600 on the end, so it adds 3600 seconds, or 1 hour 60 seconds per minute 60 minutes per hour 60 * 60 3600 Hope this solves your problem Stephen - Original Message - From: "George Pitcher" <[EMAIL PROTECTED]> To: "Stephen Edmond

Re: [PHP-WIN] general survey.... php.ini config gui

2002-12-22 Thread Stephen Edmonds
It sounds like a great idea, for the people who are newer to php. However, the 'old veteran's will probably not use it... - Original Message - From: "A Weaver" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 22, 2002 12:16 PM Subject: [PHP-WIN] general survey php.ini

Re: [PHP-WIN] iis5 php 4.2.3 multiple -c php.ini possible?

2002-12-23 Thread Stephen Edmonds
http://www.php.net/manual/en/function.ini-set.php Gives a list of all php.ini options, and where they can be set (Everywhere, Per Folder, php.ini only etc etc) Hope this proves helpful Stephen - Original Message - From: "Petar" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: [PHP-WIN] running php with apache with different php.inis

2003-01-03 Thread Stephen Edmonds
No, you can only have one php.ini file used by php... HOWEVER it is possible to make changes to php.ini settings in the .htaccess files. Take a look at http://www.php.net/manual/en/function.ini-set.php, it contains infomation on the options that can be changed and where. How you make changes in .ht

Re: [PHP-WIN] PHP from the Browser?

2003-01-05 Thread Stephen Edmonds
Sorry, but he is right. Your browser can't be set to work with php unless you have a webserver like apache/Xitami/etc... Your two choices are to upload to your host and test, or to download a free webserver... Oh, btw, as for your code: PHP Test "; ?> You don't need that ; as the are on

Re: [PHP-WIN] PHP from the Browser?

2003-01-05 Thread Stephen Edmonds
Actually now that I come to think about it, there is a 3rd option. I use a script editor called Magnum PHP Studio. It has a feature where it can run your script in PHP acting like the webserver. I am not sure if you can use it to submit forms etc etc, but it would provide a basic method for you to

Re: [PHP-WIN] PHP 4.3.0 no gif support?

2003-01-05 Thread Stephen Edmonds
, but if that happened then I would have to kill you all... ;-) Stephen - Original Message - From: "Brian Weil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 5:31 PM Subject: Re: [PHP-WIN] PHP 4.3.0 no gif suppor

Re: [PHP-WIN] PHP Editors

2003-01-06 Thread Stephen Edmonds
details about maguma. Stephen - Original Message - From: "Luis Moreira" <[EMAIL PROTECTED]> To: "Nilza Lafayette" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 12:59 PM Subject: Re: [PHP-WIN] PHP Editors Nina

Re: [PHP-WIN] mail() function not working

2003-01-06 Thread Stephen Edmonds
the ; from infront of error_log =, otherwise the line won't be processed! Stephen - Original Message - From: "Rad Craig" <[EMAIL PROTECTED]> To: "PHP Windows" <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 5:38 PM Subject: [PHP-WIN] mail() function no

Re: [PHP-WIN] [newbie] What does this mean?

2003-01-07 Thread Stephen Edmonds
Open up your httpd.conf file and search for: DocumentRoot You need to change the setting so it points to the same directory as where your webpage is stored. In my case, I store my files in 'C:/Documents and Settings/Stephen/My Documents/Web Pages/', so I setting the Docume

Re: [PHP-WIN] initialize variables (was: Using the GET Method)

2003-01-12 Thread Stephen Edmonds
orm submited to your page. $test however can come from the url ( http://host/page.php?test=thisvalue), or from a form, or any other input method. It all comes down to security in the end. If you have any further questions, do not hesitate to send it in. The only stupid question is one which you do

Re: [PHP-WIN] Which Web server to run under XP

2003-01-12 Thread Stephen Edmonds
le on my pc! Stephen - Original Message - From: "Ben Edwards" <[EMAIL PROTECTED]> To: "Rafael Fernandez" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 2:53 PM Subject: RE: [PHP-WIN] Which Web server to run under XP > At 23:

Re: [PHP-WIN] Getting IP Address and previous URL from user??

2003-01-12 Thread Stephen Edmonds
Sure. If you ever want to see what variables you can access and how they are stored, simply write a script with phpinfo(32); in. It outputs ALL variables which you can access from your script. In this case: Remote IP (Person who accessed the script) $_SERVER["REMOTE_ADDR"] File that was accessed (a

[PHP-WIN] It just doesn't make sense!

2003-01-17 Thread Stephen Edmonds
I am currently re-writing part of my website to allow people who don't use cookies to still use the site features. However, I have run into a problem. I send the session ID from page to page via the query string, and retreve it using $_GET. Everything works fine, and if set I store the details in $

Re: [PHP-WIN] It just doesn't make sense!

2003-01-17 Thread Stephen Edmonds
Grr it just takes the biscuit. I found the problem in my menu system. Basically, I was trying to send on two ? rather than using an &. So incredibly annoying, yet so incredibly simple... ah well Stephen - Original Message - From: "Stephen Edmonds" <[EMAIL PROTECTED]&

Re: [PHP-WIN] Moving an uploaded file keeps failing

2003-01-20 Thread Stephen Edmonds
the file. Also, rather than checking for 'post', check for $_FILES['userfile']['name'] If you still have problems, email the list again with your error message/code. Good luck Stephen - Original Message - From: "Matt Babineau" <[EMAIL PROTECTED]

Re: [PHP-WIN] php-win2k error in apache as isapi module

2003-01-26 Thread Stephen Edmonds
Two things. Firstly, how are you running your source code? Secondly, when do you get the error? When you try to run the script or when you try to start Apache? - Original Message - From: "Vikas Pande" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 26, 2003 1:21 PM Subj

Re: [PHP-WIN] Is this possible

2003-01-28 Thread Stephen Edmonds
No, however... you could use include( "whatever.php" ); so that the form submits to one page, which then includes both pages and does whatever it is you need. Why you want to submit to two places is a mystery though... Stephen - Original Message - From: "Wade" &l

Re: [PHP-WIN] Web pages don't show up in IE 6 w/SP1.

2003-01-30 Thread Stephen Edmonds
helpful Stephen - Original Message - From: "Jammy Hall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 2:50 PM Subject: [PHP-WIN] Web pages don't show up in IE 6 w/SP1. > I running Windows 2000 w/SP3 and IE 6 w/SP1 and I can't

Re: [PHP-WIN] Web pages don't show up in IE 6 w/SP1.

2003-01-31 Thread Stephen Edmonds
websites. I'm not quite sure why, but it is a bug someone else managed to replicate. I think it was due to an error in a comment string Stephen - Original Message - From: "Jammy Hall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 11:31 PM

Re: [PHP-WIN] error - permissions?

2003-02-01 Thread Stephen Edmonds
It probably means that your MySQL is not configured to allow for 'root' to login. If you have phpMyAdmin, you can use it to login to your MySQL server and set up the user. Stephen - Original Message - From: "Pat Johnston" <[EMAIL PROTECTED]> To: <[EMA

Re: [PHP-WIN] Multiple MySQL Queries

2003-02-01 Thread Stephen Edmonds
makes de-bugging harder... Stephen - Original Message - From: "Uttam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 01, 2003 10:16 AM Subject: [PHP-WIN] Multiple MySQL Queries > in MySQL client i can run multiple queries in a single st

  1   2   >