RE: [PHP-WIN] Re: how do I access variables passed in a URL?

2002-05-13 Thread Robin Bolton
George, I'm sure that if Ron had wanted such constructive input as that offered by yourself he wouldn't have bothered asking. Frankly, my inbox is already too busy being part of the PHP-WIN list, the last thing we need is a bunch of noise that doesn't actually contribute to the conversation. If y

RE: [PHP-WIN] Forms don't work

2002-05-11 Thread Robin Bolton
Frank, When I used to run Xitami one of the things I noticed was that the 2.5b5 version Xitami had PHP problems which weren't evident in the 2.4d9 release. I would suggest that you give the 2.4d9 version a shot and see if that helps. Otherwise, you may want to consider switching to Apache, it's n

RE: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread Robin Bolton
Or, you can simply use: @$var_name = $_GET['var_name'] to suppress error messages. -Original Message- From: Shrock, Court [mailto:[EMAIL PROTECTED]] Sent: May 9, 2002 17:51 To: Afan Pasalic; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] register_globals and php 4.2 You will get that error b

RE: [PHP-WIN] MySQL Query from PHP - CPU Cost?

2002-05-07 Thread Robin Bolton
well I'm not sure how you would acomplish the first two tasks, but you can at least get an accurate feel for how long a page (or section of code) takes to execute. There are several timer classes available, the one I use is called Deathead's Timer, wich you can download from: http://www.phpclasse

RE: [PHP-WIN] Running PHP as CGI

2002-05-01 Thread Robin Bolton
Am I correct in assuming that there is no PHP fastcgi implementation for Apache? -Original Message- From: Shane Caraveo [mailto:[EMAIL PROTECTED]] Sent: May 1, 2002 14:15 To: 'Php-Win (E-mail)' Subject: Re: [PHP-WIN] Running PHP as CGI *Significant* difference between CGI and ISAPI. B

RE: [PHP-WIN] Another Newbie Question

2002-04-10 Thread Robin Bolton
Most likely the user that you're logging in as (ie no username or password specified) doesn't have permission to open the database in question. Best way to test it out is *temporarily* put your root username and password into your mysql_connect function call. If you can access the database it's a

RE: [PHP-WIN] Passing Javascript Variables to PHP

2002-04-02 Thread Robin Bolton
Another way to pass data from JavaScript <-> PHP is with cookies. Use JavaScript to set the cookie and once you reload the script, PHP will have access to the variables stored in the cookie. I implemented this in a real-time trivia game (using PHP for the backend logic, and JavaScript for the cl

RE: [PHP-WIN] Configuring securely in IIS5

2002-04-01 Thread Robin Bolton
A good place to start may be the IIS Lockdown Tool: http://www.microsoft.com/WINDOWS2000/downloads/recommended/iislockdown/defau lt.asp -Original Message- From: Eric Gentry [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Configuri

[PHP-WIN] ODBC Connection Problems

2002-03-28 Thread Robin Bolton
either way. The username that I log onto my workstation with has administrative priveledges for both our domain, and the machine itself. Server: NT 4.0 Server Workstation: Win 2000, Apache, PHP 4.1.2 Thanks, Robin Bolton IT / Web Developer Lone Pine Publishing [EMAIL PROTECTED] -- PHP W

RE: [PHP-WIN] php3 + Apache + Windows 2000 Pro

2002-03-22 Thread Robin Bolton
Robert, This list tends to be English oriented, you may have a hard time getting a response if you post in French. If you can speak English well enough to rephrase your question, I would suggest that, otherwise you may have better luck somewhere else. -Original Message- From: Robert Nad

RE: [PHP-WIN] PHP 4.1.2 Windows binaries

2002-03-11 Thread Robin Bolton
forms. -Original Message- From: Shane Caraveo [mailto:[EMAIL PROTECTED]] Sent: 11-Mar-02 13:11 To: Robin Bolton; Werner Schweizer; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] PHP 4.1.2 Windows binaries There IS a security issue with 4.1.1, and the 4.1.2 sources, if you use CGI with Apache or Netscape/iP

RE: [PHP-WIN] PHP 4.1.2 Windows binaries

2002-03-11 Thread Robin Bolton
Unfortunately the posting on the PHP.net website makes the situation VERY unclear. PHP 4.1.2 is NOT required for Windows users. The security issues that the 4.1.2 patch deal with are Solaris and Linux specific. There is a PHP3 vulnerability in Windows, but since you were asking about PHP4, I ass

RE: [PHP-WIN] registering mySQl db in Win ODBC

2002-03-09 Thread Robin Bolton
All you will need is a copy of MyODBC, which will let you register MySQL databases via ODBC. You can find it on the MySQL website at: http://www.mysql.com/downloads/api-myodbc.html You may also want to download the latest Microsoft Data Access Components (MDAC) from: http://www.microsoft.com/dat

Re: [PHP-WIN] Re: Crystal Reports and COM

2002-02-06 Thread Robin Bolton
One possibility is if he purchases Adobe Acrobat, it has a printer driver that will print to a pdf file. If you can control printing in crystal, you're set. BTW, I'm curious about what you have PHP doing to crystal (are you passing data to it?), We've got Accpac and Crystal, and are looking for w

RE: [PHP-WIN] Can't pass variables to PHP scripts?! Please help.

2002-02-04 Thread Robin Bolton
Well actually the credit for underlining links goes much further back, to Tim Berners-Lee - at least as far as WWW goes, and even further if you look at the predecessor(s) to HTML (i.e. SGML). One of the reasons for this is to give visual clues to those that are less technically (or just mentally

RE: [PHP-WIN] mysql /php: Welcome Command Line

2001-12-20 Thread Robin Bolton
There are at least two ways to do it: 1) type "mysqladmin|more" to have it pipe the output to the more command (it will pause at the end of every page). 2)type "mysqladmin > out.txt" to have it save the output to out.txt. -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]

RE: [PHP-WIN] Re: coffee message

2001-12-17 Thread Robin Bolton
Well, technically, depending on what game you play, you may end up using an MS operating system. Some Dreamcast games were developed using Windows CE, and ship with the OS on the GD-ROM. All of the other games use Sega's own OS. As for the large amount of MS bashing/anti-bashing going on here lat

[PHP-WIN] IIS Lockdown Tool

2001-12-12 Thread Robin Bolton
While browsing www.microsoft.com I stumbled across something that some of you may have a use for: http://www.microsoft.com/technet/security/tools/locktool.asp Enjoy -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: [PHP-WIN] PHP 4.0.6 Apache 1.3.12 Oracle 8.1.5 OCIPlogon Windows 2000 Server

2001-12-06 Thread Robin Bolton
John, might I suggest that if you are converting a database from oracle you may want to consider a database that may more closely matches your previous system. You may be familiar with a Borland InterBase, well they have an open source descendant named 'Firebird'. You can check it out at: http

RE: [PHP-WIN] very urgent assistance

2001-12-05 Thread Robin Bolton
Hahaha, it's always nice to get an amusing piece of spam that stands out above and beyond the rest. Although I can't decide which is my favourite part, the sworn confidence or the fact that a government civil servant uses an excite email address. I commend you on you skilled piece of work Adewal

RE: [PHP-WIN] Cookie

2001-12-04 Thread Robin Bolton
Well, as long as you've set a value for $cookiename it should work, what may be tripping you up is that PHP won't have access to that cookie until the next time you script loads. There's nothing wrong with your code, however. If that's not the case then you will need to provide us with further in

RE: [PHP-WIN] Recommendations for websites and books

2001-11-28 Thread Robin Bolton
I used Core PHP Programming (the first PHP3 only edition), and found it be a pretty good starting point. There's now a second edition which covers PHP4. The author's page on the book is located at: http://www.leonatkinson.com/home/corephp.html The PHP.net site has a list of published PHP books:

RE: [PHP-WIN] setcookie

2001-10-16 Thread Robin Bolton
e didn't capture by IE, but netscape can.. > any advise. thx! > > actually, i use setcookie in page1.php and will show the value in > page2.php... for authentication > > pls help... thx a lot! > > Stanley > > > "Robin Bolton" <[EMAIL PROTECTED]>

RE: [PHP-WIN] setcookie

2001-10-16 Thread Robin Bolton
The problem is the second parameter has to be in double quotes. setcookie("TestCookie","$value",time()+3600); should fix the problem (tested and worked on mine). > -Original Message- > From: Stanley [mailto:[EMAIL PROTECTED]] > Sent: October 16, 2001 9:36 PM > To: [EMAIL PROTECTED] > Su

RE: [PHP-WIN] mysql news group

2001-10-03 Thread Robin Bolton
Try the official MySQL website: http://www.mysql.com/documentation/lists.html (These are mailing lists, not newsgroups) > -Original Message- > From: Stanley Cheung [mailto:[EMAIL PROTECTED]] > Sent: October 3, 2001 10:23 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] mysql news group

RE: [PHP-WIN] installing Mcrypt...

2001-09-20 Thread Robin Bolton
This was the most in depth explanation I could find: http://marc.theaimsgroup.com/?l=php-windows&m=97568101005300&w=2 > -Original Message- > From: cros [mailto:[EMAIL PROTECTED]] > Sent: September 19, 2001 8:35 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] installing Mcrypt... > > I'v

RE: [PHP-WIN] Can PHP and Java work together?

2001-08-31 Thread Robin Bolton
as JavaScript is easy to circumvent. -- Robin > -Original Message- > From: Robin Bolton [mailto:[EMAIL PROTECTED]] > Sent: August 31, 2001 8:49 AM > To: Jack; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Can PHP and Java work together? > > > If you

RE: [PHP-WIN] Can PHP and Java work together?

2001-08-31 Thread Robin Bolton
If you're talking about a form, then what you can do is set the properties for the button like so: > -Original Message- > From: Jack [mailto:[EMAIL PROTECTED]] > Sent: August 31, 2001 2:13 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP-WIN] Can PHP and Java work together?

RE: [PHP-WIN] phpinfo()

2001-07-17 Thread Robin Bolton
My guess is that you probably have an outdated .dll in you winnt\system32 folder. Try copying all the necessary .dll files from the 4.06 zip file again. > -Original Message- > From: Stuart Hunter [mailto:[EMAIL PROTECTED]] > Sent: July 17, 2001 3:40 PM > To: [EMAIL PROTECTED] > Subject: [

RE: [PHP-WIN] Where to find a complete description of php configuration

2001-07-11 Thread Robin Bolton
in the manual: http://www.php.net/manual/en/configuration.php > -Original Message- > From: Steen RAbol [mailto:[EMAIL PROTECTED]] > Sent: July 11, 2001 1:50 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Where to find a complete description of php > configuration > > > Hi > > Where ca

RE: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.

2001-05-09 Thread Robin Bolton
Perhaps people should contact him, or the magazine and make logical, well thought out arguments as to why the article was in error. Be careful that you don't attack him or accuse him of being an idiot, or biased. Just point out reasons why database abstraction is a bad idea, etc. I highly doubt

RE: [PHP-WIN] Session

2001-05-02 Thread Robin Bolton
As far as I'm aware you can't. The nature of sessions dictates that this isn't possible. Sessions are global to all active instances of a browser. However, if you're running Netscape and IE at the same time, they won't share the same session. > -Original Message- > From: Shadow Tree [ma

RE: [PHP-WIN] trouble with cookies

2001-05-02 Thread Robin Bolton
One thing that I've come across when dealing with cookies, which is documented at: http://www.php.net/manual/en/function.setcookie.php, is the fact that the cookie won't show up until the document is refreshed. Are you trying to pull the cookie vals. right after your setcookie() command? > -

RE: [PHP-WIN] PHP 4 Extension on Win2k server

2001-04-24 Thread Robin Bolton
try setting you extension path relative to the php folder, and using forward slashes. So for example, if your PHP install has an extensions subfolder (default), set your extension_dir = ./extensions > -Original Message- > From: Sébastien Cramatte [mailto:[EMAIL PROTECTED]] > Sent: April

RE: [PHP-WIN] PHP Editor

2001-04-11 Thread Robin Bolton
If you insist on freeware then you should check out either PHP Coder (http://www.phpide.de/), or jEdit (http://www.jedit.org). If you're willing to spend a little money ($30 USD) you should really check out UltraEdit (http://www.ultraedit.com). > -Original Message- > From: Mad Nas [mailt

RE: [PHP-WIN] Exec() In Windows

2001-04-04 Thread Robin Bolton
It's not always the best idea to hop onto a mailing list owned by the developers of a scripting language and accuse them of making 'stupid' decisions. If you feel that this issue is major, perhaps you should either join the developers list and make the suggestion in a nicer manner, or gain CVS ac

RE: [PHP-WIN] Irgendeine deutsche newsgroup?

2001-03-27 Thread Robin Bolton
Mein Deutsch ist nicht so gut. Die PHP-Site druckt http://www.php-center.de aus. > -Original Message- > From: Christoph Winkler [mailto:[EMAIL PROTECTED]] > Sent: March 27, 2001 7:39 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Irgendeine deutsche newsgroup? > > > Sorry guys this is on

RE: [PHP-WIN] Re:[PHP-WIN] Apache/PHP on Win 2000

2001-03-22 Thread Robin Bolton
You need to add an Action to you httpd.conf file. Insert the following into the 'Action' area: Action application/x-httpd-php "/php/php.exe" > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: March 22, 2001 1:27 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTE

RE: [PHP-WIN] MySQL errors

2001-03-21 Thread Robin Bolton
Better make that 3.23.35. Q major GROUP BY bug was recently discovered that slipped into 3.23.34, they're recommending everyone upgrades. > -Original Message- > From: Fernando Madruga [mailto:[EMAIL PROTECTED]] > Sent: March 21, 2001 2:02 AM > To: Dirk Bonenkamp - Bean IT; [EMAIL PROTECT

RE: [PHP-WIN] Problems with MySQL, & DCL

2001-03-19 Thread Robin Bolton
I found I get this error message if I roll back my clock while MySQL is running, perhaps check the time on your computer and see if it's set incorrectly. > -Original Message- > From: Schollnick, Benjamin [mailto:[EMAIL PROTECTED]] > Sent: March 19, 2001 8:56 AM > To: [EMAIL PROTECTED] > S

RE: [PHP-WIN] (Q) CGI over Apache shebang echo

2001-03-16 Thread Robin Bolton
You don't need to put the shebang line in your script. Just enclose your code with: > -Original Message- > From: Wayne Smith [mailto:[EMAIL PROTECTED]] > Sent: March 16, 2001 12:42 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] (Q) CGI over Apache shebang echo > > > All, > > I apologi

RE: [PHP-WIN] Help!

2001-03-14 Thread Robin Bolton
Oops, I just realized that range() doesn't even work in PHP 4.0b2. Ack! > -Original Message- > From: Robin Bolton [mailto:[EMAIL PROTECTED]] > Sent: March 14, 2001 3:53 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Help! > > > Ok, I've managed to get

[PHP-WIN] Help!

2001-03-14 Thread Robin Bolton
{ $rArray[$i] = rand(1,count(range(1,25))); } however, that causes repeats. So the bottom line is I need an array with 25 values (1 to 25) sorted randomly without repeats, and only using PHP 4.0b2 and earlier functions. Thanks in advance, Robin Bolton Lone Pine Publishing www.lonepinepublishing.com [EMAIL PROTECTED] [EMAIL PROTECTED] smime.p7s

RE: [PHP-WIN] Poor PHP performane on Apache on Win 2000 Server

2001-03-12 Thread Robin Bolton
Are you running Netscape? If so then I've found a quirk where Netscape would freeze for a stupid amount of time if the 'ServerName' directive in my Apache.conf was set to anything other than 'localhost', even though I originally had it set to my actual server name. This didn't affect IE at all, s

RE: [PHP-WIN] ASP to PHP automatic convertion

2001-03-08 Thread Robin Bolton
try ASP2PHP: http://asp2php.naken.cc/ Not 100% perfect, but it'll definately get you started down the right path. > -Original Message- > From: Carlos Correa Goncalves [mailto:[EMAIL PROTECTED]] > Sent: March 8, 2001 9:41 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] ASP to PHP automati

RE: [PHP-WIN] How to create a Non-Editable PDF ?

2001-03-02 Thread Robin Bolton
Further to my previous message, I've checked things out a little further, and it would appear that the 'security' setting in Acrobat use RC4 (40 bit) encryption, which would explain the lack of 3rd party tools - up until recently a licensing fee would have been required for the RC4 algorithm.

RE: [PHP-WIN] How to create a Non-Editable PDF ?

2001-03-02 Thread Robin Bolton
Adobe Acrobat has built in security features that allow restrictions on specific actions, including selecting text, editing the document, printing, etc... If you open up the document within Acrobat Exchange (the non-free PDF editor from Adobe) you can set those security preferences. Unfortunate