Re: [PHP-WIN] Redirection

2003-11-27 Thread Stuart
re going to go this way (which as Rasmus pointed out is generally very bad UI design) you might find the following a lot cleaner... location.href = '<a href="http://www.php.net/">http://www.php.net/</a>'; There is no reason to do any browser detection, es

Re: [PHP-WIN] Re: Newbie: Apache will not start when I load PHP

2003-12-29 Thread Stuart
odule php4_module e:/Program Files/PHP/Windows/php-4.2.3-Win32/sapi/php4apache2.dll This path contains a space and therefore needs to be enclosed in quotes otherwise Apache will read the path as e:/Program. I'm willing to bet that the relative path you are now using does not contain a space. -- Stu

Re: [PHP-WIN] binary search in php

2004-01-09 Thread Stuart
ww.mwc.edu/inte/cpsc/03/about.html 3. If i have php script and when i execute, need max_execution_time more than 30 second it's pretend bad??? http://php.net/set_time_limit - much better than changing the value in php.ini -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To uns

Re: [PHP-WIN] binary search in php

2004-01-09 Thread Stuart
Stuart wrote: Idur wrote: 1. How to searching data in array using "binary search methode" and update the data when found it. because the data, that i have to process is big, with more than 12000 lines. 2. How did i found tutorial about binary search in php.??? A quick Google

Re: [PHP-WIN] Calling a function from a hyperlink

2004-01-10 Thread Stuart
Mike Brum wrote: Can you be a bit more clear on "calling a function from a hyperlink"? If you're referring to that in the JavaScript sense, then no. No? link Works in most browsers I've come across. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsu

Re: [PHP-WIN] Re: Calling a function from a hyperlink

2004-01-10 Thread Stuart
need to handle adding items. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] chmod on win xp - update

2004-01-19 Thread Stuart
lf execute privileges. In the security tab, click on "Advanced". At the bottom of the dialog that appears there is a checkbox with the label "Inherit from parent the permission entries that apply" Uncheck that, select copy in the popup and you should then be able to modify t

Re: [PHP-WIN] Re: Open Port limits on XP

2004-01-22 Thread Stuart
10, could be wrong though) Yup, 10: http://support.microsoft.com/?kbid=314882 -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Use ASP components in PHP code?

2004-01-28 Thread Stuart
ad of http://php.net/com -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] building a string question

2004-02-03 Thread Stuart
Herhuth, Ron wrote: for($i=0;$i<$_POST['numberOfAmendments'];$i++) { $amendmentNumber = $_POST['amendmentID_$i']; } Replace your single quotes with double quotes. Variable substitution is not performed on single-quoted strings. -- Stuart -- PHP Windows Mailing List (

Re: [PHP-WIN] SQL to select a set of records

2004-02-06 Thread Stuart
FROMdbo.Table_MIS_Files WHERE dbo.Table_MIS_Files.File_ID NOT IN (SELECT TOP 10 dbo.Table_MIS_Files.File_ID FROMdbo.Table_MIS_Files) That will get rows 11-25. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Internal Server Error

2004-04-29 Thread Stuart
or messages" in the Advanced tab of your Internet Options in the Tools menu. Then refresh the page - it *may* give you a more specific error message. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Can't seem to transfer a dynamically chosen parameter to next page

2009-03-17 Thread Stuart
GET['ordername'], so for example your debugging statement would change from... echo "Debug statement: Chosen order is . $ordername . $name"; ...to... echo "Debug statement: Chosen order is ".htmlentities($_GET['ordername']); Notice how I'm encoding t

Re: [PHP-WIN] Can't seem to transfer a dynamically chosen parameter to next page

2009-03-17 Thread Stuart
and then, in showorder.php > > parse_str($_SERVER['QUERY_STRING'], $qs); > $name = $qs['name']; > > and that's it! What have you been smoking? This is already done for you, and the results are in $_GET. Why duplicate the work? -Stuart -- http://stut.net/ &

Re: [PHP-WIN] is ZendStudio IDE necessary????

2009-07-05 Thread Stuart
ord? You're freaking kidding right? In general I would argue that the tools you use have absolutely no bearing on what level developer you are, but to be using Word for anything other than word processing takes a special kind of ignorance and/or stupidity. It has no place as a develo

Re: [PHP-WIN] Determining the exact location of the CLI executing the current script?

2009-08-24 Thread Stuart
ript. > > Which seems a little odd. > > Unless I'm missing something. There is nothing built-in to get you this, but assuming you're on a unix platform you can use an evil combination of getmypid() and executing ps to get what you want. I'm sure similar is possible under W

[PHP-WIN] Apache 1.3.20 and PHP 4.1.2 on Win2k Server

2002-04-26 Thread Stuart Dallas
f the errors pointed to blank lines or comments. I am at a loss to explain this and it is becoming a pain - errors like this on your corporate website do not present a very professional image!! Any help would be appreciated. TIA, Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubs

RE: [PHP-WIN] PHP Command Line Syntax

2002-04-28 Thread Stuart Dallas
Set the environment variable QUERY_STRING prior to running PHP... set QUERY_STRING=servername=SERVERNAME c:\php\php.exe -q checksingle.php HTH, Stuart -Original Message- From: Scott Dowd [mailto:[EMAIL PROTECTED]] Sent: 28 April 2002 12:32 To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP

RE: [PHP-WIN] Re: i'm stuck guys

2002-04-29 Thread Stuart Dallas
In IE you have to do ctrl+click the refresh toolbar icon. Ctrl+F5 does not do it. HTH, Stuart -Original Message- From: Luis Ferro [mailto:[EMAIL PROTECTED]] Sent: 29 April 2002 19:00 To: Webmaster Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Re: i'm stuck guys Internet Exp

Re: [PHP-WIN] File Uploader - Progress

2002-05-03 Thread Stuart Dallas
ploads, but it has to be saving the file it's receiving somewhere. You could launch a popup window when the form is submitted. That popup goes to a page that gets the size of the file PHP is saving the upload to and displays it and refreshes itself periodically. I dunno if it would work, but

Re: [PHP-WIN] Re: How do i get SSI (Server Side Include) to work

2002-05-05 Thread Stuart Dallas
php4_module C:/Program Files/Apache > Group/Apache/php-4.2.0-Win32/php4apache.dll > > Please tell me what did I do wrong? Put the path to the DLL in quotes like so... LoadModule php4_module "C:/Program Files/Apache Group/Apache/php-4.2.0- Win32/php4apache.dll" -- S

Re: [PHP-WIN] Sessions under PHP 4.2

2002-05-13 Thread Stuart Dallas
R.S. Herhuth <[EMAIL PROTECTED]> wrote: > I installed 4.2 and I want to use sessions with the "stock > configuration." I tried this but it doesn't work...what should I be > doing different? In what way? What error do you get? -- Stuart -- PHP Windows Mailing

[PHP-WIN] Win2k + PHP + dynamic disk mirroring

2002-05-13 Thread Stuart Dallas
h until it goes away (sometimes it doesn't). That will show just how random it is. We are not experiencing any other filesystem problems on that server. We don't want to disable the mirroring without being pretty sure it will solve the problem. All experiences/insights, good and bad, are appreciated. -- Stuart

Re: [PHP-WIN] how do I get a user name?

2002-05-13 Thread Stuart Dallas
On 13 May 2002 at 17:21, Mauricio wrote: > I am using apaches' authentication. > How do i do for get user name and password in PHP? PHP 4.1.x or later: $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] Earlier PHP: $PHP_AUTH_USER and $PHP_AUTH_PW -- Stuar

Re: [PHP-WIN] server variables

2002-05-14 Thread Stuart Dallas
uestion is: how can I access these server variables from PHP script? http://www.php.net/getenv -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Needed: Several short, swift kicks.

2002-05-28 Thread Stuart Dallas
s poorly written, The PHP manual is extremely comprehensive and (IMHO) quite well-written. However, it is written as a reference manual, not a beginners guide. There are lots and lots of good PHP- for-beginners books. A good place to start looking for a suitable book is http://www.php.net/books.php. I hope that lot helps. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] GD...

2002-05-29 Thread Stuart Dallas
Brian McGarvie <[EMAIL PROTECTED]> wrote: > Any Ideas? Show us your code and we'll see if we can identify the problem. Unfortunately we're not mind readers. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] GD...

2002-05-29 Thread Stuart Dallas
g the code to use the new superglobal array $_GET. > border="0"> What do you get if you go to this URL in a browser directly instead of embedding it inside a page? -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] GD...

2002-05-29 Thread Stuart Dallas
quot;TextFONT", "3"); >> >> Erm, yes. I cannot believe that I missed that!! -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] How do I get PHP 4.1.2 to work with Apache 2.0.36 on win32?

2002-06-03 Thread Stuart Dallas
ll then Apache doesn't even load, just exits. PHP 4.1.2 doesn't support Apache 2. You need to get PHP 4.2.x - it has a module specifically for Apache 2. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] problem with IIS..

2002-06-07 Thread Nick Stuart
Hello all, I have recently installed php4.2.1 with IIS 5 and 2000 SP2 and I'm having some wierd problems. PHP "IS" running but it is not running correctly. It doesnt seem to be posting and/or getting any info from forms/pages and the request variables. If I have a page like index.php it works fine

Re: [PHP-WIN] Re: PHP 4.2.1 And WinXP

2002-06-10 Thread Stuart Dallas
e 'External variables' section. If you still don't understand what is going on after that, feel free to let me know. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] How to pass passwd Server <-> Client in a "secure" way

2002-06-10 Thread Stuart Dallas
use php, so it > pointless to refer to any php specific methods.) The best way is to send it across an SSL connection. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Re: Re: PHP 4.2.1 And WinXP

2002-06-10 Thread Stuart Dallas
t is. If you've read the notes linked from the release note you'll know that if you turn register_globals on in php.ini then the variables will be registered in global scope as they were in previous versions. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Stuart Dallas
before. Dunno, never used SSL with Apache. Sorry. I hope that helps. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] SSL Support for PHP....

2002-06-14 Thread Stuart Dallas
project. However, I would expect that there would be little difference whether you implement it using IIS or Apache. > Btw, thanks Stuart, thats kinda making me feel easier about keeping it IIS. No problem. Don't get me wrong, I think the ?AMP combination (Linux/FreeBSD/etc, Apache, My

[PHP-WIN] Re: [PHP] 'CC' and 'BCC' in mail function

2002-06-14 Thread Stuart Dallas
. I (and I'm sure there are others) would prefer it if you could create a new thread for a new topic. It makes things a lot easier to follow. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] case-sensitive

2002-06-25 Thread Stuart Dallas
ot what you mean, please be more specific. -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] file upload woes...

2002-06-26 Thread Nicholas Stuart
Hello and good day all. I am having problems trying to upload files through php. Followed the online manual and the uploading appears to work fine for small text files. But when I go to try and upload say an mp3 it doesnt work. It just spits back the error:Warning: Unable to open '' for reading: N

Re: [PHP-WIN] file upload woes...(solved)

2002-06-26 Thread Nicholas Stuart
DUH! never mind the newb over in the corner! Changed the wrong max file size setting. Oh well...live and learn! Nicholas Stuart said: > Hello and good day all. I am having problems trying to upload files > through php. Followed the online manual and the uploading appears to > work

Re: [PHP-WIN] cookies in windows

2002-06-27 Thread Stuart Dallas
wrong? My guess is that it's register_globals related. > There's nothing wrong in my code cause it works fine on another server, just > not on localhost. Your code is not the only variable when moving from server to server. Check the PHP version on the other server and also compare your re

[PHP-WIN] PHP or Apache error?!?

2002-07-01 Thread Nicholas Stuart
Hello all, I seem to be having an odd problem with uploading files. The problem is I'm trying to upload multiple files at a time, but when I try to do anything more then 10 megs it doesnt work. It doesnt give any error reports or anything it just goes to the page and acts as if no files were uploa

RE: [PHP-WIN] PHP or Apache error?!?

2002-07-01 Thread Nicholas Stuart
from mine: > > ; Maximum allowed size for uploaded files. > upload_max_filesize = 2M > > There is a call you can make in PHP to change it for certain scripts, > although I'm not sure what it is. > > -Dash > > -Original Message- > From: Nicholas Stuart [ma

[PHP-WIN] Apache2.0.40/php4.2.2/Win XP home

2002-08-16 Thread Stuart Hamilton
I have read lots of info about this problem on the news group however it has not solved my problem! I am trying to get PHP 4.2.2 to load up on Apache 2.0.40 as a module but it just ain't working. I follow the instructions and add the following lines to the http.conf file:- LoadModule

[PHP-WIN] Re: Apache2.0.40/php4.2.2/Win XP home

2002-08-20 Thread Stuart Hamilton
links from other users. Thats we I found the link. Stuart Andrew V. Romero wrote: > I just got apache2 and php set up on winXP home after 2 two weeks of > playing with it. First, take out the addtype application line, you > don't need this line appartently for apache 2. See if

[PHP-WIN] cookie problems...

2002-09-04 Thread Nicholas Stuart
Hello all, I seem to be having problems with getting cookies to set correctly. I use the following code: ___ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-s

Re: [PHP-WIN] Re: cookie problems...

2002-09-04 Thread Nicholas Stuart
me visible until the next loading of a page that > the > cookie should be visible for. To test if a cookie was successfully > set, > check for the cookie on a next loading page before the cookie expires. > " > > -- > > > Best regards, > George Nicolae > IT Ma

[PHP-WIN] phpinfo()

2001-07-17 Thread Stuart Hunter
I have just installed version 4.06 on my Windows 2000 machine, but when I open the web page I have that contains phpinfo() it still reports 4.05. Is that a known issue or have I done something wrong in my upgrade? Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e

RE: [PHP-WIN] phpinfo()

2001-07-19 Thread Stuart Hunter
copied the dll to the c:\winnt directory. The old dll was in the c:\winnt\system32 directory. Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] ImageCreate

2001-07-19 Thread Stuart Hunter
Fatal error: Call to undefined function: imagecreate() in c:\program files\apache\htdocs\drawchart.php on line 81 Can someone point me to what I should install to get my graphics capability back? Thanks. Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

RE: [PHP-WIN] Help! convert manipulate gif and jpgs

2001-09-20 Thread Cameron Stuart
Hi, Under win32, your best bet is to work with jpg's and png's, take a look at your php.ini and make sure the gd extension is enabled: first make sure PHP knows which directory you are using: ; Directory in which the loadable extensions (modules) reside. extension_dir = C:/php/extensions Then

[PHP-WIN] PHP, iPlanet Server and Win200 Server

2002-02-12 Thread Stuart Hart
d the association is defined in windows for both .php and .phtml, I can execute both file types from the command line (just by typing the file name hello.phtml). Does anybody have any ideas? Thanks Stuart/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-06-14 Thread Stuart Felenstein
I can't believe Chapter 1 , section 1 and I'm off to a bad start already. Using this form and script, I keep getting "undefined index" for the variables I declare in the script. Running PHP 4.3.2 on XP Pro. Thanks. Stuart Form: Item Quantity Tires Oi

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

2003-06-14 Thread Stuart Felenstein
Yes, register globals are now on. Though it doesn't apparently matter. Stuart toby z <[EMAIL PROTECTED]> wrote: register globals on or off ? --- Stuart Felenstein wrote: > I can't believe Chapter 1 , section 1 and I'm off to a bad start > already. > Usin

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

2003-06-14 Thread Stuart Felenstein
ead though I agree that global registers is not the problem. Besides >I've tried both ways. Stuart Stephen <[EMAIL PROTECTED]> wrote: 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 i

[PHP-WIN] Grrrrr! Definitive guide for setup on XP Pro?

2003-06-15 Thread Stuart Felenstein
there. Anyway is there a definitive guide for install, or some proven method to get PHP 4.3.2, Apache 2 (latest stable) and XP Pro all singing the same tune? Thanks Stuart

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

2003-06-15 Thread Stuart Felenstein
same warning in Zend Studio as to the "undefined index" and will try to figure that out. Regardless it works correctly on the web page. Thanks Stuart Adam Goossens <[EMAIL PROTECTED]> wrote:Stuart, This problem occurs when you try to access an index in an array that does not ex

Re: [PHP-WIN] Phpinfo.php

2003-06-20 Thread Stuart Felenstein
I also put php.ini, php4ts, php4apache2 all into my system32 directory. Stuart Dean Hayes <[EMAIL PROTECTED]> wrote: Did you add the lines LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php to your httpd.conf file Dean "The Insane

[PHP-WIN] Parsing Error: Short just a few lines of code, please look

2003-06-21 Thread Stuart Felenstein
Created a small registration form, trying to spit back the information for confirmation. Getting a parsing error. I don't know if it means anything, but I created the form and table in GoLive. Up to defining the variables everything is cool, ZDE points to line 32, as an unexpected >. Though

Re: [PHP-WIN] Phpinfo.php

2003-06-23 Thread Stuart Felenstein
Oh sorry, no I was just responding to Mathias...my php is working. Thanks though Stuart sven <[EMAIL PROTECTED]> wrote: hi stuart, try this: move php.ini to \winnt leave php4ts.dll and php4apache2.dll in \winnt\system32 in httpd.conf change the loadmodule line to: LoadModule php4_

[PHP-WIN] OT[slightly] Tables and layers

2003-06-25 Thread Stuart Felenstein
s returned] to another table or layer somewhere else in the same page. Is this possible? I know nothing about HTML and will only take in as much as necessary and rely on WYSIWYG type of programs like Dreamweaver or GoLive to do the bulk of the dirty work. Stuart

Re: [PHP-WIN] OT[slightly] Tables and layers

2003-06-25 Thread Stuart Felenstein
I understand what you are saying. PHP doesn't create or hide layers etc. What I'm trying to understand is will PHP work in that environment or not? Could I code one layer with a get or post form and have another layer translating it? Stuart Thank you for your response. Jim Hunt

Re: [PHP-WIN] OT[slightly] Tables and layers

2003-06-25 Thread Stuart Felenstein
e "objects" dynamic (forms, tables, layers). I took that to mean that the object has a life of it's own and once sent to the server a hidden layer or table could automatically appear, again without redrawing the entire page. Sorry for the confusion. Stuart Jim ---Original

[PHP-WIN] oci8 not showing underphpinfo

2006-06-14 Thread Steven Stuart
\bin and E:\PHP. Thanks, Steven Stuart -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] oci8 not showing underphpinfo

2006-06-14 Thread Steven Stuart
pages and so forth it works without a problem. Does PHP use a different portion of the Oracle application? Is there a way manually to determine if the "oracle instant client" is installed. Thanks, Steven Stuart ""Matt Murphy"" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP-WIN] oci8 not showing underphpinfo

2006-06-14 Thread Steven Stuart
Hi Matt, I have found out that the client is installed.Our main DBA had me run some tools that showed that it was installed, and working. So it appears to be a php configuration issue. Thanks, Steven Stuart ""Matt Murphy"" <[EMAIL PROTECTED]> wro