Re: [PHP-WIN] PHP connecting to MSSQL

2009-04-01 Thread Alf Stockton
st where I found 1433 listed as the TCP port but when I try netstat -an I get:- C:\Documents and Settings\Alf Stockton>svrnetcn C:\Documents and Settings\Alf Stockton>netstat -an Active Connections Proto Local Address Foreign AddressState TCP0.0.0.0:80

Re: [PHP-WIN] PHP connecting to MSSQL

2009-03-31 Thread Alf Stockton
TCP127.0.0.1:27015127.0.0.1:1045 ESTABLISHED but I do not see mssql in either of those results? -- Regards, Alf Stocktonwww.stockton.co.za The human race is a race of cowards; and I am not only marching in that procession but carrying a banner. -

Re: [PHP-WIN] PHP connecting to MSSQL

2009-03-30 Thread Alf Stockton
firewall turned off, with firewall on but exception made for port 1433 and a number of others but in all cases it failed with the following results. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Alf Stockton>telnet localhost 1433 Connec

Re: [PHP-WIN] PHP connecting to MSSQL

2009-03-30 Thread Alf Stockton
today -- Regards, Alf Stocktonwww.stockton.co.za You will gain money by an illegal action. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP connecting to MSSQL

2009-03-30 Thread Alf Stockton
John Mertic wrote: Which version of mssql are you connecting to? My version number is 8.00.194 RTM Developer Edition -- Regards, Alf Stocktonwww.stockton.co.za You have many friends and very few living enemies. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

[PHP-WIN] PHP connecting to MSSQL

2009-03-29 Thread Alf Stockton
I vave also tried using echo "Error in DBConnect() = " . mssql_get_last_message(); & now all I get is "Error in DBConnect() = " -- Regards, Alf Stocktonwww.stockton.co.za Q: What's the difference between a duck and an elephant? A: You can't

[PHP-WIN] PHP connecting to MSSQL

2009-03-29 Thread Alf Stockton
le to connect to T4T database"); and of course I consistently get "Unable to connect...". Where do I need to start looking. -- Regards, Alf Stocktonwww.stockton.co.za You will be divorced within a year. -- PHP Windows Mailing List (http://www.php.net/) To unsu

Re: [PHP-WIN] An Unhandled Win32 Exception Occurred When Executing PHP From Windows

2008-10-31 Thread Alf Stockton
not rewrite it in PHP. -- Regards, Alf Stocktonwww.stockton.co.za Keep it short for pithy sake. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] An Unhandled Win32 Exception Occurred When Executing PHP From Windows

2008-10-31 Thread Alf Stockton
. -- Regards, Alf Stocktonwww.stockton.co.za You will become rich and famous unless you don't. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] An Unhandled Win32 Exception Occurred When Executing PHP From Windows

2008-10-31 Thread Alf Stockton
use of the interruptions of my program. Does this give you more information in helping me solve my problem? Thanks in advance. Do you have the source of the exe? Is it C or C++ or C#? -- Regards, Alf Stocktonwww.stockton.co.za Courage is your greatest present need. -- PHP Windows Ma

Re: [PHP-WIN] An Unhandled Win32 Exception Occurred When Executing PHP From Windows

2008-10-31 Thread Alf Stockton
on the machine of where my PHP is executing this exe file? I do not believe that that would make much difference. -- Regards, Alf Stocktonwww.stockton.co.za You could live a better life, if you had a better mind and a better body. -- PHP Windows Mailing List (http://www.php.net/)

Re: [PHP-WIN] Sessions Question!

2008-05-13 Thread Alf Stockton
ything about the crime. -- Regards, Alf Stocktonwww.stockton.co.za Q: What do you call a blind, deaf-mute, quadraplegic Virginian? A: Trustworthy. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://www.php.net/) To u

Re: [PHP-WIN] Sessions Question!

2008-05-13 Thread Alf Stockton
was the last time it was called. I use:- Note the ?Diva=".rand()." unlikely to be the same twice:-( -- Regards, Alf Stocktonwww.stockton.co.za When you are about to die, a wombat is better than no company at all. -- Roger Zelazny, "Doorways in the

Re: [PHP-WIN] Sessions Question!

2008-05-12 Thread Alf Stockton
prevent this from happening. Below is the Script I am using to destroy the session data. //Unset all of the global variables! session_unset; //Destroy the session session_destroy(); I would suggest also clearing the browsers cache. -- Regards, Alf Stocktonwww.stockton.co.za A

Re: [PHP-WIN] Retrieve all SESSION variables.

2007-05-25 Thread Alf Stockton
Stut wrote: Alf Stockton wrote: Is there a method whereby one can retrieve all php SESSION variables on a Windows server. I have tried:- $val) { echo $key . " : " . $val . ""; } ?> but this appears to only return current user variables. S

[PHP-WIN] Retrieve all SESSION variables.

2007-05-25 Thread Alf Stockton
Is there a method whereby one can retrieve all php SESSION variables on a Windows server. I have tried:- $val) { echo $key . " : " . $val . ""; } ?> but this appears to only return current user variables. -

[PHP-WIN] IE ignoring background image

2007-05-25 Thread Alf Stockton
ound image. I have also tried the URL("http://localhost/Events/background.png";) but it still fails. Please tell me how I should fix this. -- Regards, Alf Stocktonwww.stockton.co.za If one cannot enjoy reading a book over and over again, there is no use

[PHP-WIN] Oracle BLOB & PHP

2007-05-23 Thread Alf Stockton
Can someone suggest a method whereby one retrieves an Oracle BLOB & subsequently display same on a HTML page? If possible an example would be great. -- Regards, Alf Stocktonwww.stockton.co.za Don't plan any hasty moves. You'll be evicted soon anyway. My email

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread Alf Stockton
sam rumaizan wrote: Copy and paste my code in your editor and run it then you will understand what I need Why do all your field definitions contain 'name="update"' ? -- Regards, Alf Stocktonwww.stockton.co.za Fame is a vapor; popularity an accident; the on

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread Alf Stockton
cells (TD) then the data get updated in mysql. So when I pull the data again I can see the new information. Is there any way to do this using PHP? Yes I am sure that this can be done but we need more information before recommending a solution. -- Regards, Alf Stockton

[PHP-WIN] No properties

2007-05-08 Thread Alf Stockton
Please tell me why :- if (window.event.keyCode != 13)) Gives me :- window.event has no properties http://10.0.0.3/Events/js/ajax.js Line 39 in Firebug -- Regards, Alf Stocktonwww.stockton.co.za You will be called upon to help a friend in trouble. My email disclaimer is available

Re: [PHP-WIN] Form and enter key

2007-05-08 Thread Alf Stockton
-Original Message----- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: 08 May 2007 12:57 PM To: php windows Subject: Re: [PHP-WIN] Form and enter key Alf Stockton wrote: I have created an HTML form that contains an input type text field coded as:- onBlur="sendRequest('.$ClientData.

Re: [PHP-WIN] Form and enter key

2007-05-08 Thread Alf Stockton
Alf Stockton wrote: I have created an HTML form that contains an input type text field coded as:- onBlur="sendRequest('.$ClientData.",".$Event.',this.value)"> This calls an Ajax script that populates the rest of the HTML form. This fields event is currently a

[PHP-WIN] Form and enter key

2007-05-08 Thread Alf Stockton
ox, via the TAB but the user has requested that the activation be altered to Enter. The problem I have is that Enter is the default action for the form and I cannot think of a way to achieve what the user requires. Suggestions please. -- Regards, Alf Stocktonwww.stockton.co.za Yo

Re: [PHP-WIN] Reload/refresh web page

2007-05-06 Thread Alf Stockton
bedul wrote: use this 20 mean 20 sec will reload it self index2.php change into your page name (index.php) the next meta u must include.. or not? I have decided to use "URL?Diva=" and it seems to work for me -- Regards, Alf Stocktonwww.stockton.co.za All things tha

Re: [PHP-WIN] Reload/refresh web page

2007-05-05 Thread Alf Stockton
Thank you all for your suggestions and help. I have decided, as the pages are all created in PHP, to go with URL?Diva=rand() or URL?UID=&Diva=rand() and it seems to work. Let us now see how idiot proof it is and give it to the users and see if God has made a better idiot. -- Regards,

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
put a random value in the querystring (that servers no purpose) will fool the browser and load the new content. Please tell me more. An example would be good, if you could. -- Regards, Alf Stocktonwww.stockton.co.za You may be gone tomorrow, but that doesn't mean that you weren

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
rn to the dynamic page I want this new data to be included. -- Regards, Alf Stocktonwww.stockton.co.za Perfect day for scrubbing the floor and other exciting things. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://www.ph

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Bill Bolte wrote: Can we ask why you need a reload every time? Maybe there's a better approach? The page I want reloaded is dynamic and every time it displays I want it to be retrieved from the server, but how? If you can make another suggestion I would be happy to hear it. -- Regards

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
displays I want it to be retrieved from the server, but how? -- Regards, Alf Stocktonwww.stockton.co.za Always the dullness of the fool is the whetstone of the wits. -- William Shakespeare, "As You Like It" My email disclaimer is available at www.stockton.c

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
RL must be specified. Therefore that is not on.> -- Regards, Alf Stocktonwww.stockton.co.za Always the dullness of the fool is the whetstone of the wits. -- William Shakespeare, "As You Like It" My email disclaimer is available at www.stockton.co.za/

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
you for trying. -- Regards, Alf Stocktonwww.stockton.co.za Never commit yourself! Let someone else commit you. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
these pages could be at various of my users branches and they could well have their own URLs. ie No standard URL available. My first thought was to add refresh within a onload but this would be daft as one would end up in a permanent loop. Please make suggestions. -- Regards, Alf Stockton

[PHP-WIN] Javascript email group

2007-04-26 Thread Alf Stockton
HTML, Javascript, PHP, DHTML, CSS2, XML, XHTML, ASP, .Net, back-end integration, design, scripting, security, DOMs blah blah blah)." -- Regards, Alf Stocktonwww.stockton.co.za Are you making all this up as you go along? My email disclaimer is available at www.stockton.co.za/discl

Re: [PHP-WIN] PHP & SQL Server 2005

2007-04-25 Thread Alf Stockton
insert failed. Look in the table and see if the insert was successful. -- Regards, Alf Stocktonwww.stockton.co.za You can do very well in speculation where land or anything to do with dirt is concerned. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP

Re: [PHP-WIN] Javascript partially not working

2007-04-24 Thread Alf Stockton
ns as to which Javascript list may be good? -- Regards, Alf Stocktonwww.stockton.co.za Never reveal your best argument. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP-WIN] Javascript partially not working

2007-04-24 Thread Alf Stockton
t").value = ""; but I'm blessed if I can see it. The relative HTML line reads id="Amount" onBlur="CheckAmount()"> Please make suggestions. -- Regards, Alf Stocktonwww.stockton.co.za Stay away from hurricanes for a while. My emai

[PHP-WIN] Javascript

2007-04-23 Thread Alf Stockton
Please tell the difference between:- document.getElementById("Amount").innerHTML = " "; and document.getElementById("Amount").value = " "; -- Regards, Alf Stocktonwww.stockton.co.za He is now rising from affluence to poverty.

Re: [PHP-WIN] PHP & Javascript

2007-04-18 Thread Alf Stockton
tting my mind around what happens on the client and what happens on the server. Even though I knew that PHP parses on the server and the result of that is sent to the client where javascript operates the solution you suggest never entered my mind. I'll know better next time and thank yo

[PHP-WIN] PHP & Javascript

2007-04-18 Thread Alf Stockton
Please suggest a way to pass the value contained in a PHP variable to Javascript. I have $ID with a certain value in PHP and want to do a Javascript window.location="Another.php?UID="+2; and replace the above hardcoded 2 with the value in $ID. -- Regards, Al

Re: [PHP-WIN] Firefox versus IE

2007-04-17 Thread Alf Stockton
Gustav Wiberg wrote: > Try using input type="submit" instead :-) I tried the above but it still does not work. -- Regards, Alf Stocktonwww.stockton.co.za Q: What do you get when you cross the Godfather with an attorney? A: An offer you can't un

Re: [PHP-WIN] Firefox versus IE

2007-04-17 Thread Alf Stockton
Stut wrote: Alf Stockton wrote: echo "TYPE='submit'>Back"; echo ''; echo "TYPE='submit'>Back"; echo ''; I suggest a book on HTML for beginners. Thank you. Solved. -- Regards, Alf Stocktonwww.s

[PHP-WIN] Firefox versus IE

2007-04-17 Thread Alf Stockton
echo "TYPE='submit'>Back"; } neither the submit nor the back buttons work in IE but both work fine in Firefox. Javascript is enabled in both browsers. -- Regards, Alf Stocktonwww.stockton.co.za Clothes make the man. Naked people have little or no

Re: [PHP-WIN] cache control at client

2007-04-12 Thread Alf Stockton
eference/article.php/3472881 but with a bit more detail. Thank you Mikael -- Regards, Alf Stocktonwww.stockton.co.za Suspicion always haunts the guilty mind. -- Wm. Shakespeare My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Window

[PHP-WIN] cache control at client

2007-04-12 Thread Alf Stockton
pite this being an intranet system. -- Regards, Alf Stocktonwww.stockton.co.za Q: What's yellow, and equivalent to the Axiom of Choice? A: Zorn's Lemon. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://ww

Re: [PHP-WIN] Calling PHP from PHP

2007-04-12 Thread Alf Stockton
is showing but I just want to call another script, the same as one would in C by calling another program. -- Regards, Alf Stocktonwww.stockton.co.za Beware of a dark-haired man with a loud tie. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows

[PHP-WIN] Calling PHP from PHP

2007-04-11 Thread Alf Stockton
Please tell me how I call one PHP script from another? On successful completion of script A I need to call script B without including it as part of script A. -- Regards, Alf Stocktonwww.stockton.co.za Be cheerful while you are alive. -- Phathotep, 24th Century B.C

Re: [PHP-WIN] duplicate entry

2007-04-08 Thread Alf Stockton
Alf Stockton wrote: How do I disable Refresh and Back button. to Prevent duplicate entry I used :- ALTER TABLE table-name ADD CONSTRAINT NoDuplicates UNIQUE (Date,MemberNumber) Have a read of :- http://www.thescripts.com/forum/thread156807.html -- Regards, Alf Stockton

Re: [PHP-WIN] duplicate entry

2007-04-08 Thread Alf Stockton
How do I disable Refresh and Back button. to Prevent duplicate entry I used :- ALTER TABLE table-name ADD CONSTRAINT NoDuplicates UNIQUE (Date,MemberNumber) -- Regards, Alf Stocktonwww.stockton.co.za Your love life will be... interesting. My email disclaimer is available at

Re: [PHP-WIN] MSSQL returned: Invalid object name

2007-03-24 Thread Alf Stockton
Alf Stockton wrote: Frank M. Kromann wrote: This sounds like your MSSQL connections are getting mixed up. If the two databases are on the same server and the same sql login has access to both databases you can query everything from a single conenction. You just have to qualify the tables

Re: [PHP-WIN] MSSQL returned: Invalid object name

2007-03-24 Thread Alf Stockton
data for Stored Procedure connect and use DB2 via Stored Procedure getting data that can be used to get more data from DB1and this is the one that fails. Frank, I have tried your suggestions unfortunately without success. -- Regards, Alf Stocktonwww.stockton.co.za Q: How

[PHP-WIN] MSSQL returned: Invalid object name

2007-03-23 Thread Alf Stockton
t database. Please help. -- Regards, Alf Stocktonwww.stockton.co.za Q: What do you call a principal female opera singer whose high C is lower than those of other principal female opera singers? A: A deep C diva. My email disclaimer is available at www.stockton.co.za/discl

[PHP-WIN] Back button in PHP

2007-02-01 Thread Alf Stockton
I seem to remember that there was a simple call to get reference to the the screen previous to where the client currently is. Please remind me how this is done? I need to place a Back button on my clients screens. -- Regards, Alf Stocktonwww.stockton.co.za You will be married

[PHP-WIN] JavaScript with parameters

2007-01-29 Thread Alf Stockton
ypeID' but have the $EarnTypeID contain the correct value. -- Regards, Alf Stocktonwww.stockton.co.za You'll be sorry... My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Parameters in JavaScript

2007-01-28 Thread Alf Stockton
ypeID' but have the $EarnTypeID contain the correct value. -- Regards, Alf Stocktonwww.stockton.co.za I'll burn my books. -- Christopher Marlowe My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (htt

[PHP-WIN] Client card reader

2007-01-15 Thread Alf Stockton
I need to be able to read a magstripe and/or smart card on a client machine on a system that currently is built up with PHP & HTTP & a little JavaScript. Can this be done with JavaScript? or I am willing to listen to any other possible solution. -- Regards, Alf

Re: [PHP-WIN] Checking for result of call to mssql_query()

2006-10-13 Thread Alf Stockton
Alf Stockton wrote: > Niel Archer wrote: > >> Hi Alf >> >> You'd be better off asking this type of question in the database list. >> I'm not familiar with MS-SQL, the syntax doesn't look much different to >> the MySQL flavour. >> >&g

Re: [PHP-WIN] Checking for result of call to mssql_query()

2006-10-13 Thread Alf Stockton
Alf Stockton wrote: > Niel Archer wrote: > >> Hi Alf >> >> You'd be better off asking this type of question in the database list. >> I'm not familiar with MS-SQL, the syntax doesn't look much different to >> the MySQL flavour. >> >&

Re: [PHP-WIN] Checking for result of call to mssql_query()

2006-10-13 Thread Alf Stockton
I expect with mysql but not with mssql. I will test the other way around and see what happens. i.e. if (!$Reply) { error message... } -- Regards, Alf Stocktonwww.stockton.co.za Q: "What is the burning question on the mind of every dyslexic existen

[PHP-WIN] @mssql_connect() versus mssql_connect()

2006-10-12 Thread Alf Stockton
What is the difference between @mssql_connect() and mssql_connect()? i.e. What is the relevance of the prefixed @? -- Regards, Alf Stocktonwww.stockton.co.za You may my glories and my state dispose, But not my griefs; still am I king of those. -- William Shakespeare

[PHP-WIN] Checking for result of call to mssql_query()

2006-10-12 Thread Alf Stockton
); if ($Reply == FALSE) { whether the query works or not I have yet to find $Reply equal to FALSE. Please tell me what I am misunderstanding and what is the correct method -- Regards, Alf Stocktonwww.stockton.co.za You will always have good luck in your personal affairs. My

Re: [PHP-WIN] header()

2006-10-04 Thread Alf Stockton
ot;".$ReturnTo; header("Location: $ReturnTo"); exit; and when I cut and paste the line produced by the echo into the, can I call it "go box", at the top of the screen and press enter it goes where I want? -- Regards, Alf Stocktonwww.stockton.co.za

[PHP-WIN] header()

2006-10-03 Thread Alf Stockton
in Windows? -- Regards, Alf Stocktonwww.stockton.co.za You now have Asian Flu. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] insert md5 password

2006-10-03 Thread Alf Stockton
); trigger_error($Message, E_USER_ERROR, $link); exit; } Maybe on an insert, no rows would be returned and therefore I possibly should be checking for something else? -- Regards, Alf Stocktonwww.stockton.co.za Q: Why is it that Mexico isn't sending a

[PHP-WIN] SSIncludes in PHP

2006-10-03 Thread Alf Stockton
and the server side includes(SSI) works fine in shtml.:-( What have I forgotten to do to get both php and shtml to work the way I want? -- Regards, Alf Stocktonwww.stockton.co.za You are scrupulously honest, frank, and straightforward. Therefore you have few friends. My email discla

Re: [PHP-WIN] insert md5 password

2006-10-03 Thread Alf Stockton
The following works fine:- INSERT INTO Users (FirstName, LastName, Usrname, Passwrd, AccessLevel, last_login, UserID) values ('Alfred', 'Stockton', 'alf', 0xd8cc7e40d17aaefd27cd324f7ba91079, '9', '2006/10/03 13:09:28', '0' ) Therefore problem solved but thanks for the assistance and suggestion

Re: [PHP-WIN] insert md5 password

2006-09-29 Thread Alf Stockton
$result = mssql_query($sql, $con); >$row= mssql_fetch_array($result); >if ($row) >$text = $row["errtxt"]; // error text (with placeholders) >else >$text = "onknown error"; >mssql_free_result($resu

Re: [PHP-WIN] insert md5 password

2006-09-29 Thread Alf Stockton
DvDmanDT wrote: > Just check why it fails.. mysql_error() returns a string with the last error > message.. > > Unfortunately this is mssql not mysql..:-( -- Regards, Alf Stocktonwww.stockton.co.za You'll never see all the places, or read all the books

Re: [PHP-WIN] insert md5 password

2006-09-29 Thread Alf Stockton
The relevant PHP code looks like :- $Surname = strip_tags($_POST['Surname']); $FirstName = strip_tags($_POST['FirstName']); $uname = strip_tags($_POST['uname']); $passwd = strip_tags($_POST['passwd']); $accesslevel = strip_tags($_POST['accesslevel']); $passwd = md5($passwd

Re: [PHP-WIN] insert md5 password

2006-09-29 Thread Alf Stockton
SMITHT wrote: > INSERT INTO Users (FirstName, LastName, Usrname, Passwrd, AccessLevel, > last_login, UserID) VALUES ("Alf", "Stockton", "alf", > "0xd8cc7e40d17aaefd27cd324f7ba91079", 9, "2006/09/29 12:05:23", 0) > > Put the hashed pa

[PHP-WIN] insert md5 password

2006-09-29 Thread Alf Stockton
Using MSSQL database I am attempting to insert a new user into a table using the following command in PHP:- INSERT INTO Users (FirstName, LastName, Usrname, Passwrd, AccessLevel, last_login, UserID) VALUES ('Alf', 'Stockton', 'alf', 0xd8cc7e40d17aaefd27cd324f7ba91

[PHP-WIN] Re: [Linux dev] Undefined variables

2006-09-09 Thread Alf Stockton
Hendrik Visage wrote: > On 9/8/06, Alf Stockton <[EMAIL PROTECTED]> wrote: >> In this little script:- >> >> > session_start(); >> //read folder >> $folder=opendir("."); >> while ($file = readdir($folder)) >> $names[count($names)] = $

[PHP-WIN] Undefined variables

2006-09-08 Thread Alf Stockton
itted to cause this? -- Regards, Alf Stocktonwww.stockton.co.za Lay on, MacDuff, and curs'd be him who first cries, "Hold, enough!". -- Shakespeare My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (

[PHP-WIN] document.navigate()

2006-06-19 Thread Alf Stockton
Is the javascript document.navigate() function specific to IE or can I use it with any browser? -- Regards, Alf Stocktonwww.stockton.co.za I'll burn my books. -- Christopher Marlowe My email disclaimer is available at www.stockton.co.za/disclaimer.html --

Re: [PHP-WIN] Apache to IIS

2006-06-19 Thread Alf Stockton
ber that the man who holds the gold makes the rules and my customer is convinced the MS rules.:-( -- Regards, Alf Stocktonwww.stockton.co.za The naked truth of it is, I have no shirt. -- William Shakespeare, "Love's Labour's Lost" My e

Re: [PHP-WIN] Apache to IIS

2006-06-19 Thread Alf Stockton
IIS. >> >> >> >> Has anyone done this conversion on what was the impact on your code? >> Does this imply a php.ini reconfiguration or just make it equal to the one with Apache? -- Regards, Alf Stocktonwww.stockton.co.za You will engage in a

Re: [PHP-WIN] php displays nothing

2006-05-30 Thread Alf Stockton
nful, but it works... > > > Correct me if I am wrong but if php fails, because of the error, to produce the html page nothing is going to display whether you do echo or prints or not. -- Regards, Alf Stocktonwww.stockton.co.za You will be surrounded by luxury. My

[PHP-WIN] php displays nothing

2006-05-30 Thread Alf Stockton
How do php web developers debug php scripts that obviously have an error but when browsed to display nothing because of the error? -- Regards, Alf Stocktonwww.stockton.co.za You're currently going through a difficult transition period called "Life." My email disclaim

Re: [PHP-WIN] Configuration problem?

2006-05-23 Thread Alf Stockton
lank screen has usually meant to me that there is an error in your script. -- Regards, Alf Stocktonwww.stockton.co.za You will always get the greatest recognition for the job you least like. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mai

Re: [PHP-WIN] Last supported version for windows 95

2006-05-22 Thread Alf Stockton
are it runs as slow as a pig and therefore should also go out and buy some new hardware. As well as go through the learning curve of the new Windows OS.? -- Regards, Alf Stocktonwww.stockton.co.za You like to form new friendships and make new acquaintances. My email disclaime

Re: [PHP-WIN] Last supported version for windows 95

2006-05-21 Thread Alf Stockton
istribution of Linux you might choose. If you follow some basic rules php scripts/apps developed on Linux will run on Windows either under IIS or Apache. In fact php is developed on Linux. I know this is a php windows email group but I thought that I would share the above with you anyway. --

[PHP-WIN] PHP Upgrade

2006-05-11 Thread Alf Stockton
t; the response. Contact your system administrator. and in /var/log/apache/error_log I get:- child pid 11681 exit signal Segmentation fault (11) and nothing applicable in /var/log/messages or /var/log/syslog or /var/log/apache/access_log. -- Regards, Alf Stocktonwww.stockton.co.za

Re: [PHP-WIN] Open Source Project

2006-05-08 Thread Alf Stockton
d leave it at that? BTW Does anyone have any examples of using PHP to call MSSQL Stored Procedures? The web appears a bit sparce in this area. Lots of MySql but not too much on MSSQL. -- Regards, Alf Stocktonwww.stockton.co.za Better hope the life-inspector doesn't come around whil

Re: [PHP-WIN] Open Source Project

2006-05-08 Thread Alf Stockton
here will be a new table showing who won what, when and at which event. Yet again other users will have other requirements and therefore my attempting to open this up to the group so that the "transaction" side of the system could be made to cover as many bases as possible. --

[PHP-WIN] Open Source Project

2006-05-05 Thread Alf Stockton
Event Message Start date and time End date and time Prize draw date and time Event type(numeric ID to another table containing Type names/desc) database MSSQL and Stored Procedures preferred. -- Regards, Alf Stocktonwww.stockton.co.za It usually takes more than three weeks to prepare a

[PHP-WIN] Oracle & Stored Procedure

2006-04-20 Thread Alf Stockton
les\Apache Group\Apache2\htdocs\KioskCurrent\TI\GetMember.php on line 37 and in case it might help I have also attached the source from which the stored procedure was created. Please tell me what I have done wrong? -- Regards, Alf Stocktonwww.stockton.co.za He draweth out the thr

[PHP-WIN] Switching from Apache to IIS

2006-04-16 Thread Alf Stockton
;t be that the configuration of IIS is at fault but rather my programs will be blamed, so I would rather be prepared. -- Regards, Alf Stocktonwww.stockton.co.za Linux 2.6.12-10-386 Lay on, MacDuff, and curs'd be him who first cries, "Hold, enough!".

Re: [PHP-WIN] Re: Select list again.

2006-04-10 Thread Alf Stockton
form is called TicketStatus and the javascript is called via Please make some suggestions on what I may have done wrong. -- Regards, Alf Stocktonwww.stockton.co.za If more of us valued food and cheer and song above hoarded gold, it would be a merrier world. -- J.R.R. To

[PHP-WIN] Re: Select list again.

2006-04-07 Thread Alf Stockton
above I don't as yet know how to handle is accessing a PHP built array from javascript but I am sure that I will find it...:-) -- Regards, Alf Stocktonwww.stockton.co.za Beware of Bigfoot! My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Ma

Re: [PHP-WIN] Select list again

2006-04-07 Thread Alf Stockton
ction GetValue() { alert(TicketStatus.Promotion_id.value) } doing some of what I want, it displays the correct information when changing selection, which is fine. Now I need to put that value into a PHP variable for the next step in the scenario. -- Regards, Alf Sto

Re: [PHP-WIN] Select list again

2006-04-07 Thread Alf Stockton
s helps George -Original Message- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: 7 April 2006 11:35 am To: php windows Subject: [PHP-WIN] Select list again How can I, with only HTML & PHP, retrieve the select value from a selection the user made without a select button? I

[PHP-WIN] Select list again

2006-04-07 Thread Alf Stockton
How can I, with only HTML & PHP, retrieve the select value from a selection the user made without a select button? -- Regards, Alf Stocktonwww.stockton.co.za Q: How many lawyers does it take to change a light bulb? A: One. Only it's his light bulb when he&#x

[PHP-WIN] Access javascript from php

2006-04-04 Thread Alf Stockton
I have written my program in such a way that all the html is separate from my php but now I need to include a piece of javascript within the php but the php is very unhappy with

[PHP-WIN] Two dynamic select lists

2006-03-20 Thread Alf Stockton
lease? -- Regards, Alf Stocktonwww.stockton.co.za You will have good luck and overcome many hardships. My email disclaimer is available at www.stockton.co.za/disclaimer.html -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHP & mssql date/time fields

2006-03-17 Thread Alf Stockton
ime is different are both selected whereas all I need is to get the one within the current date/time period. Suggestions please. -- Regards, Alf Stocktonwww.stockton.co.za Give your very best today. Heaven knows it's little enough. My email disclaimer is available at www.sto

Re: [PHP-WIN] Re: include txt in html

2006-03-16 Thread Alf Stockton
mailbox 19860221 wrote: Alf, Did you check the following lines? AddType text/html .shtml AddOutputFilter INCLUDES .shtml Both those lines are and have been uncommented since original install, but thank you for the suggestion. -- Regards, Alf Stocktonwww.stockton.co.za That

Re: [PHP-WIN] Global variables

2006-03-15 Thread Alf Stockton
not select %s at %s as %s",__LINE__, __FILE__, $dbname, $servername, $dbusername); trigger_error(E_USER_ERROR, $Message); } echo "In PMConnect() link = $link"; return $link; } ?> Alf Stockton wrote: The following scenario has me confused. In my main

[PHP-WIN] Global variables

2006-03-15 Thread Alf Stockton
cluded function I have "; .snip.. this echo shows that $link is empty. NB. All my functions are contained within .inc files that are incorporated via something similar to include('includes/PMConnect.inc'); What am I misunderstanding ? -- Regards, Alf St

[PHP-WIN] include txt in html

2006-03-14 Thread Alf Stockton
Options Indexes Includes FollowSymLinks MultiViews ExecCGI So if someone can share with me how I got this wrong I would be grateful. -- Regards, Alf Stocktonwww.stockton.co.za "Life, loathe it or ignore it, you can't like it." -- Marvin, "Hitch

[PHP-WIN] PHP Calling Packaged Oracle Stored Procedure

2005-12-04 Thread Alf Stockton
return memberdetail_type; PROCEDURE spMemberDetails( p_number cards.card_number%type, --varchar2 cv_memberdetails out memberdetail_cur_type); Please tell me what I am not understanding and where I have gone wrong. BTW I did not write the stored procedure. -- Regards, Alf Stockt

  1   2   >