Re: [PHP-WIN] return C++ string to PHP var?

2008-11-14 Thread Stut
Question 3: Anyone know of a good tutorial that creates a COM object and accesses it via PHP? Never seen one, it's not what you might call a "normal" thing to do. My friend Google knows a lot of stuff, it might know about this too. -Stut -- http://stut.net/ -- PHP Windo

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

2008-10-31 Thread Stut
event, in which case you need to be taking it back to where you got it from and telling them about it. Unless the debugging window indicates that it's PHP that's crashing not your exe. I'd double check that first if I were you. -Stut -- http://stut.net/ -- PHP Windo

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

2008-10-31 Thread Stut
.exe [2372]. However, when I only run the application using cmd, it does not give me any errors. Is there something I should try that I have not? This is almost certainly due to something that exe file is trying to use and nothing at all to do with PHP. What does my-manager.exe do? -Stu

Re: [PHP-WIN] I use Content-Disposition to open up a save as window, can I use an absolute path?

2008-05-22 Thread Stut
e the file the right filename (which is file1), and it doesn't know the type (which is .txt) So, we can't use an absolute path with Content-Disposition? Shockingly not, no. I can't actually think of a legitimate reason why you'd want to. -Stut -- http://stut.net/ --

Re: [PHP-WIN] Include Question!

2008-05-09 Thread Stut
execution to the included file. It's this sequence that prevents you from defining a class across several files. Hope that makes it clearer. -Stut -- http://stut.net/ On Fri, May 9, 2008 at 1:49 PM, Matthew Gonzales <[EMAIL PROTECTED]> wrote: So I am really cornfused about the i

Re: [PHP-WIN] Newbie - am wondering how to use PHP (?) to get the name of the user logged on to 'my' https:// site

2008-02-20 Thread Stut
nt $logged_on_username.""; It prints the $logged just fine as "domain\user", no speech marks of course. However the spilt won't work, I guess because of the double back slash - gives the error: Warning: split() [function.split]: REG_EESCAPE in ... Split wants a regex. U

Re: [PHP-WIN] help needed

2008-01-25 Thread Stut
ells you if an error occurred, and you can then use mysql_error to get more details. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Recursive PHP method crashes Apache

2008-01-04 Thread Stut
ENT, $failed); } self::PrefetchComponents($dependencies); } I'm thinking that last line should be... if (count($dependencies) > 0) { self::PrefetchComponents($dependencies); } -Stut -- http://stut.net/ -- PHP Windows Mailing Li

Re: [PHP-WIN] infinite loop

2007-11-21 Thread Stut
Is there any way ? Try telling us what you are trying to do rather than how you are trying to do it. Chances are good that there's a better way to accomplish your goal. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubs

Re: [PHP-WIN] Cann't exec() or system() with safe_mode=1

2007-10-17 Thread Stut
e set both "Anonymous"_and_"Windows integrated" authentication and only "Windows integrated" authentication in C:\wwwroot\tests. ¿Have you any idea? Try using forward slashes instead of backslashes. -Stut -- http://stut.net/ -- PHP Windows Mailing Lis

Re: FW: [PHP-WIN] Com++ Word AND PHP?

2007-10-08 Thread Stut
I am able to create a Word document in a Linux version of PHP, I'll make the move. My bad - the forwarded mail was confusing. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: FW: [PHP-WIN] Com++ Word AND PHP?

2007-10-08 Thread Stut
Gustav Wiberg wrote: I do this on my WinNT server - in fact its the only thing left stopping me from moving to Linux! "COM functions are only available for the Windows version of PHP." From http://php.net/com -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.ph

Re: [PHP-WIN] What's the difference between and ???

2007-09-30 Thread Stut
M. Sokolewicz wrote: grep, replace all No, but it will be hard to fix all the http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Outlook 2007

2007-09-14 Thread Stut
e pretty or, IMHO, worth doing. Rather than asking us if it's possible to do something in a particular way, you may want to try telling us what you want to achieve. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Single cmd session for all exec() calls - is this possible?

2007-09-12 Thread Stut
ause next command is strongly dependent on the results from previous command. The only way I can think of to do this is to use popen[1] to run a shell. You can then send it commands and read the output. -Stut [1] http://php.net/popen -- http://stut.net/ -- PHP Windows Mailing List (htt

Re: [PHP-WIN] Question about office web component

2007-09-11 Thread Stut
watersniper wrote: Stut,Thank you very much! But I don't know --the module_name in COM::COM ( string $module_name ) And, I can't find how to operate the object. That bit doesn't have much to do with PHP. You need to read the documentation for the office web components.

Re: [PHP-WIN] Question about office web component

2007-09-11 Thread Stut
watersniper wrote: How can I use OWC with PHP? I've never tried it but I see no reason why not. You'll need to use the COM extension: http://php.net/com -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] space in filenames when uploading?

2007-09-05 Thread Stut
thing with paths or so on... I apologise, I made an incorrect assumption based on what you sent. What do you mean by "doesn't seem to be displayed"? Show us code. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Wednesday, Septem

Re: [PHP-WIN] space in filenames when uploading?

2007-09-05 Thread Stut
t; nature is to try it before asking here. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php5ts.dll errors

2007-09-05 Thread Stut
Sean wrote: Stut wrote: Sean wrote: -- I have Apache 2.0.59 (and the error was occuring before on apache 1.3 too) runnng on windows 2003 and 2000 servers. Every so offten (5 or 6 times a day), I get a --- Application error of Faulting application Apache.exe, version 2.0.59.200, faulting

Re: [PHP-WIN] php5ts.dll errors

2007-09-05 Thread Stut
no matter what. This is usually caused by mismatched DLLs. Make sure all your PHP binaries are from the same release. If I were you I'd actually delete everything to do with PHP from the system (except maybe php.ini), then get everything fresh from the ZIP download no php.net. -Stut --

Re: [PHP-WIN] open/download file not under www-root

2007-09-04 Thread Stut
[EMAIL PROTECTED] wrote: I thought accessing files/directories above the www-root via the web was impossible??? Directly yes, but you can proxy it through a server-side script. -Stut -- http://stut.net/ -Original Message- From: George Pitcher <[EMAIL PROTECTED]> To: Gustav

Re: [PHP-WIN] File creation problem (HTTP wrapper does not support writeable connections.)

2007-08-22 Thread Stut
n an http://... location which will not work for precisely the reason the error message gave. In the second instance I would guess that the location of the file you are trying to create is not writeable by the user PHP is running as. What user that is depends on what web server you&#

Re: [PHP-WIN] Vista wont let me install php

2007-08-07 Thread Stut
administrative rights all the time. If you are trying to install it with the installer, right-click on the setup file and select "Run as administrator". If that's not how you're trying to install it please explain what actions you are taking. -Stut -- http://stut.net/ -- PHP

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stut
those you're not getting the full picture. Also try viewing the source of the page that is output. Are you seeing any PHP code in it? -Stut -- http://stut.net/ "Stut" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Stephen wrote: i'm tryin to get th

Re: [PHP-WIN] Help with if

2007-08-06 Thread Stut
guessing should be in quotes. I suggest you copy/paste your code instead of re-typing it (assuming you re-typed it). -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Template

2007-08-01 Thread Stut
Cédric Joubert wrote: wich template do you use for a little php application ? Template? What exactly do you mean by that? -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Cacti x Post

2007-08-01 Thread Stut
Vitor Mendes wrote: Does anybody knows how can I install CACTI with PostgreSQL database? It works? Do you know if it recognizes switch, hub or acess points? You'll have better luck asking the people who develop Cacti - I'm sure they have their own mailing list. -Stut -- http:

Re: [PHP-WIN] Error reporting

2007-07-30 Thread Stut
both a URL and on the CLI. If they're different then that's probably what your problem is. The output from reflects the current environment only. -Stut -- http://stut.net/ Stut <[EMAIL PROTECTED]> 30/07/2007 9:52 a.m. >>> Bruce Cowin wrote: I originally sent th

Re: [PHP-WIN] Error reporting

2007-07-29 Thread Stut
sn't know how to execute PHP 2) CLI is using a different php.ini than the web server - check this with a phpinfo page (http://php.net/phpinfo 3) Permissions are preventing the web server process from writing to the event log -Stut -- http://stut.net/ -- PHP Windows Mailing L

Re: [PHP-WIN] fileperms - windows setting 777 on a file - possible?

2007-07-26 Thread Stut
ke this work? Posting a question twice because the first one didn't get any responses is not likely to make you any friends. You bought this software? Seems to me that your best bet would be to ask the company you bought it from. This list is not here to provide free support for commerc

Re: [PHP-WIN] windows API to play audio files?

2007-07-24 Thread Stut
long time ago I created a site like this using Winamp. I wrote a UDP server in C++ that took commands from PHP scripts and then used the Winamp SDK to control Winamp. I'm sure there are other MP3 players out there with suitable APIs. -Stut -- http://stut.net/ -- PHP Windows Ma

Re: [PHP-WIN] Move of mailserver

2007-07-18 Thread Stut
Gustav Wiberg wrote: Php.ini - Changes of smpt-settings in this file - DO I HAVE TO restart whole server? Just the web server software, not the machine. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Re: FW: Unable to load dynamic library "C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"

2007-07-12 Thread Stut
Bill Bolte wrote: http://wamp.corephp.co.uk/ Here's the guide... That's the one, thanks Bill. -Stut -- http://stut.net/ -Original Message----- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 8:30 AM To: Oman, Gregg Cc: php-windows@lists.php.net Subject

[PHP-WIN] Re: FW: Unable to load dynamic library "C:\PHP\ext\php_mysql.dll"and Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"

2007-07-12 Thread Stut
THE LIST, PLEASE INCLUDE THE LIST UNLESS YOU'RE WANTING TO HIRE ME AS A CONTRACTOR Hope you see that this time. Hit reply to all not reply - it's really not that hard. Oman, Gregg wrote: Stut wrote: > Ok, looking at that your configuration is very confused. Why do you ha

[PHP-WIN] Re: FW: Unable to load dynamic library "C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"

2007-07-12 Thread Stut
Please always include the list when replying. Oman, Gregg wrote: Stut, Attached is the output of phpinfo. When I search the system for php.ini, the only place it appears is C:\Program Files\PHP. Ok, looking at that your configuration is very confused. Why do you have PHP in

[PHP-WIN] Re: Unable to load dynamic library "C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"

2007-07-12 Thread Stut
rom phpinfo for where it's expecting to find it. Also you make no mention of restarting Apache after you modified the ini file. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Testing MySQL PHP connection

2007-07-09 Thread Stut
he phpinfo output for where it should go). -Stut -- http://stut.net/ -Original Message----- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 8:41 AM To: Jacob Bergman Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Testing MySQL PHP connection Please include the

Re: [PHP-WIN] Testing MySQL PHP connection

2007-07-09 Thread Stut
MySQLi is installed. -Stut -- http://stut.net/ -Original Message----- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 8:18 AM To: Jacob Bergman Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Testing MySQL PHP connection Jacob Bergman wrote: While trying to connect to

Re: [PHP-WIN] Testing MySQL PHP connection

2007-07-09 Thread Stut
t is wrong... I'm pretty new to all this and grabbed this out of a book. Thanks for the help! You need to enable/install the MySQLi extension. Your book should tell you how to do that, if not: http://php.net/mysqli -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://w

Re: [PHP-WIN] Apache copnfig

2007-07-06 Thread Stut
ashes are going / instead of \ in what they say. Anyways, thanks for all the help! http://php.net/install.windows.apache2 -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] MySQL query error

2007-06-30 Thread Stut
n't a random reason - "read" is on the reserved words list: http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html -Stut -- http://stut.net/ - Original Message - From: "Stut" <[EMAIL PROTECTED]> Newsgroups: php.windows To: "James Blandford"

Re: [PHP-WIN] MySQL query error

2007-06-30 Thread Stut
w to make it work. Query looks fine. Are you sure the table and field names are correct? -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Save classes to db?

2007-06-26 Thread Stut
when serialized. Therefore you can use an __sleep method to gracefully disconnect the object from the database when serialized, and __wakeup to reconnect it when unserialized. I hope that makes a bit more sense. -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Save classes to db?

2007-06-26 Thread Stut
hanges the fact that you cannot serialize resources. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 3:29 PM To: Dale Attree Cc: 'Gustav Wiberg'; ''php windows'' Subject: Re: [PHP-WIN] Save classe

Re: [PHP-WIN] Save classes to db?

2007-06-26 Thread Stut
n recreate them during unserialize using a __wake method. -Stut -- http://stut.net/ -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: 26 June 2007 02:28 PM To: 'php windows' (php-windows@lists.php.net) Subject: [PHP-WIN] Save classes to db? Hi there! Is

Re: [PHP-WIN] PHP and MYSQL

2007-06-22 Thread Stut
Bill Bolte wrote: Do you have error reporting turned off? And/or display_errors? -Stut -- http://stut.net/ -Original Message- From: Leandro Martinez [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 8:23 AM To: php-windows@lists.php.net Subject: [PHP-WIN] PHP and MYSQL Hello

Re: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Stut
point you. -Stut On 6/12/07, * Stut* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Bradley Stahl wrote: > Try using the "$_SERVER['HTTP_REFERER']" server variable to get the URL of > the page that referred the current user to your

Re: [PHP-WIN] Get referer with PHP

2007-06-12 Thread Stut
option to remove or not supply this header. -Stut On 6/12/07, Luis Moreira (ESI-GSQP) <[EMAIL PROTECTED]> wrote: Hi This is possibly way too simple, but let me ask just the same : I want to add some code (may be PHP) on an HTML page, to check the referrer.

Re: [PHP-WIN] Returning variable and array from function

2007-06-12 Thread Stut
x27; in C:\www\test\timeweb\classes\reports.php on line 2745 Yeah, that's not valid PHP. Return it as as array... return array($htmlReport, $res); -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Drag and Drop

2007-06-08 Thread Stut
control or Java applet, and even then you'll run into lots of security issues. -Stut -Original Message- From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer Sent: Friday, June 08, 2007 10:45 AM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Drag and Drop Hi

Re: [PHP-WIN] Problems with working with large text files

2007-06-01 Thread Stut
up to compress it don't I? gzcompress ($data, 9) $data being the string (the whole file) of text I need to compress. Two possible options... 1) write it out uncompressed and compress it afterwards. Or 2) use the gz output buffer handler to do it (although that may have the same effec

Re: [PHP-WIN] Problems with working with large text files

2007-05-31 Thread Stut
d reason to load a large file into memory all at just to "process" it. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] javascript :close()

2007-05-31 Thread Stut
#x27;t own. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Stut
user it's running as. Whatever the outcome I would say it's worth asking on a mailing list for that particular server as well as here. -Stut -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 2:05 PM To: Moore, Joshua Cc: php-windows@lists

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Stut
permissions that normal users have. Probably worth checking the result of printer_open - I'm guessing it's failing. You may also want to search the archives of this list as problems with printing come up fairly frequently. -Stut -Original Message- From: Stut [mailto:[EMAIL

Re: [PHP-WIN] Printing via webapp

2007-05-29 Thread Stut
ed. The user that your web server runs as needs to have access to the printer. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Virus left 3 desktops folders in directory tree of WinXP sp2

2007-05-26 Thread Stut
us do you know what virus? Googling for that virus will usually give you more help than asking a random mailing list. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] LAST_INSERT_ID & LAST_UPDATE_ID

2007-05-25 Thread Stut
sam rumaizan wrote: You mean Normalization Not in my part of the world. England. You know, where English came from. And quit with the bold!! It's not big, it's not clever and it puts *'s all over your email! -Stut */Stut <[EMAIL PROTECTED]>/* wrote: sam rumaizan

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

2007-05-25 Thread Stut
Alf Stockton wrote: 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

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

2007-05-25 Thread Stut
er users session data due to the aforementioned security-related reasoning. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] LAST_INSERT_ID & LAST_UPDATE_ID

2007-05-25 Thread Stut
database normalisation, and I suggest you look it up on Wikipedia or Google. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Warnings/Errors in PHP

2007-05-25 Thread Stut
Dale Attree wrote: Error_reporting(E_ALL ^ E_NOTICE); Why oh why would you suggest this? Notices are telling you that something is wrong. Do you ignore the light that indicates low fuel in your car? If you do it'll keep working for a while, but it's a ticking time bomb!! -St

Re: [PHP-WIN] LAST_INSERT_ID & LAST_UPDATE_ID

2007-05-24 Thread Stut
ld to the table and include that in the update. Then you can use that field to get the last row that was changed. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] HTTP authenticate header

2007-05-24 Thread Stut
;php login form" or similar, you'll get a good starting point from that. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] query strings & printouts Re: [PHP-WIN] Query Syntax - WHERE fieldname1='fieldvalue1' AND fieldname2='fieldvalue2'

2007-05-22 Thread Stut
r in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM classifieds WHERE (trans_type = 'For Sale') AND (tr' at line 2 in C:\apache2triad\htdocs\sunlakes\test3.php on line 85 Ditto. -Stut "Stut" <[EMAIL

Re: [PHP-WIN] Query Syntax - WHERE fieldname1='fieldvalue1' AND fieldname2='fieldvalue2'

2007-05-22 Thread Stut
cs\ Have you tried printing out $query to see exactly what you're sending? Seems like a logical first step to me. Something about it is clearly wrong, and I'm guess it's an empty or wrong $field_name value. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread Stut
you are running the PHP version. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Stut
e SQL server user to make sure it can access that database from that machine. Note that it is very very very unlikely that this problem is anything to do with PHP or Pear::DB. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] automatic-click flash?

2007-05-06 Thread Stut
bedul wrote: nope.. that's can be dangerous since some activeX today are a food for a worm.. be safe on NET It has absolutely nothing to do with security. It's all about patents... http://channel9.msdn.com/ShowPost.aspx?PageIndex=2&PostID=169255 Fight the FUD. -Stut

Re: [PHP-WIN] automatic-click flash?

2007-05-04 Thread Stut
ed flash-object? Keep searching, there are several solutions to this problem out there. And it's worth noting that it's not for security reasons, it's because they would be breaching a patent if it was automatically enabled. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP] slow performance

2007-04-25 Thread Stut
Java version. I already installed an php-accelerator (eAccelator) which increased the overall performance, but still the performance is quite poor. Are there any "tweaks" to tune PHP performance? Don't use Windows. If you *must* use windows, use FastCGI. -Stut -- PHP Windows

Re: [PHP-WIN] Javascript

2007-04-23 Thread Stut
value attribute. For example, and have innerHTML, and has value. There are plenty of web-based resources that will tell you what attributes different objects have. Google is your friend. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Firefox versus IE

2007-04-17 Thread Stut
Alf Stockton wrote: echo "Back"; echo ''; echo "TYPE='submit'>Back"; echo ''; I suggest a book on HTML for beginners. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Network programming with php

2007-04-16 Thread Stut
monitoring. I know this because I use it to do just that. I have a set of PHP scripts that monitor a number of services on 6 servers and it works quite nicely. Granted it wouldn't scale without major work but it does the job. -Stut On 4/16/07, Stut <[EMAIL PROTECTED]> wrote: sam rum

Re: [PHP-WIN] Network programming with php

2007-04-16 Thread Stut
sam rumaizan wrote: Thank you for the link. This application is using C programming. I’m looking for some thing with PHP Out of pure curiosity... why? You need a tool to do a job, why put artificial constraints on it. -Stut */Stut <[EMAIL PROTECTED]>/* wrote: sam rumaizan

Re: [PHP-WIN] Network programming with php

2007-04-15 Thread Stut
what kind of port it is (printer, PC, access point,...etc) This particular wheel already exists: http://www.nagios.org/. And that's just one example, there are several out there. -Stut Aaron Kenney <[EMAIL PROTECTED]> wrote: "Network programming" is a very broad term. Wh

Re: [PHP-WIN] So why do I need session?

2007-04-11 Thread Stut
u don't give them an expiry time. This is how the session ID cookie works. -Stut Stut skrev: Mikael Grön wrote: You can, only it's not as secure. It's easier to edit cookies since they're not stored on the server. Also cookies don't disappear when you close the browser

Re: [PHP-WIN] So why do I need session?

2007-04-11 Thread Stut
out when closing the browser. "as secure"??? Cookies are not secure at all. There has been a *very* lengthy discussion of this subject on the PHP-General mailing list. Search the archives for a recent thread with the subject "Session Authentication". -Stut sam rumaizan skrev:

Re: [PHP-WIN] So why do I need session?

2007-04-10 Thread Stut
invalid unless you have defined a constant called USER somewhere. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] How to read the username

2007-04-07 Thread Stut
n I did this a few years ago with Apache running on FreeBSD it took a while to get it set up and working properly, but it was worth it. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] duplicate entry

2007-04-07 Thread Stut
e the list when replying. -Stut */Stut <[EMAIL PROTECTED]>/* wrote: sam rumaizan wrote: > How do I disable Refresh and Back button. to Prevent duplicate entry Disabling client-side features like refresh and back is not the right way to solve this problem. The most common sol

Re: [PHP-WIN] duplicate entry

2007-04-06 Thread Stut
ge.php. If they hit back they will be taken back to form.php. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Log message - is everything ok with it?

2007-03-30 Thread Stut
the 32meg limit. So no, everything is not ok with it. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Stut
on in a MySQL query. Addslashes() doesn't do anywhere near enough, you should be using mysql_real_escape_string() instead. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Stut
uch it was trying to allocate when it ran out. If you change the memory_limit then I'm not surprised that this value changes. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP] Re: Question on virus/worms

2007-03-02 Thread Stut
es PHP5 (I believe it's 5.2+) introduces the ability to turn off the ability to prevent this issue, but it's still badly written code. Stop blaming the tool, start blaming the mirror image and start learning how to code defensively. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] testing

2007-02-09 Thread Stut
Gustav Wiberg wrote: I'm just testing. Is there anyone who sees this? Nope, can't see it. Try a pink background. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Question on virus/worms

2007-02-05 Thread Stut
oaded from the web and poor server security. Hope that helps. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Printer Functions - print a file

2007-02-04 Thread Stut
wanting to print. Your best bet is to find a command line utility that can do what you need and call that from PHP. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] New user having problems :(

2007-02-04 Thread Stut
what Have you told Apache about PHP? Have you read the installation page and followed the instructions? http://php.net/install.windows.apache2 -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP returns source file instead of processing it

2007-01-28 Thread Stut
Except if/when you move your site to another server you're betting on them having short tags enabled. Best to type 3 extra characters for each opening tag now, than having to change them all later. Where software development is concerned shortcuts are very very rarely worth taking. -Stut T

Re: [PHP-WIN] PHP returns source file instead of processing it

2007-01-28 Thread Stut
Reinhard Mayr aka Czerwinski wrote: I installed the windows binaries (5.2.0 installer from http://www.php.net/downloads.php) on my XP box. To test the installation of PHP, I use a minimal test script "phpinfo.php": When I call "php phpinfo.php", all I get is a dump of the source file but no

Re: [PHP-WIN] setcookie() not working - help!

2006-12-28 Thread Stut
e calls to this function prior to any output, including and tags as well as any whitespace. If output exists prior to calling this function, setcookie() will fail and return FALSE." Read the manual page: http://php.net/setcookie - everything you need is there. -Stut -- PHP Window

Re: [PHP-WIN] dynamic page caching help

2006-12-12 Thread Stut
Did I say session often enough? -Stut -Original Message- From: Harpreet [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 11:08 PM To: php-windows@lists.php.net Subject: [PHP-WIN] dynamic page caching help I have a search page that returns results in about 10-15 seconds.

Re: [PHP-WIN] Class method unavailable on server

2006-12-12 Thread Stut
rent class and can't be accessed however I try. This has me totally stumped. Anybody have any ideas on how to resolve this? My psychic powers tell me that you need to provide us with your code before we can provide helpful help. -Stut -- PHP Windows Mailing List (http://www.php.ne

Re: [PHP-WIN] Variables

2006-12-08 Thread Stut
$sql, $connect_id) or die ("couldn't execute the query"); // ASSIGNS THE RESULTS OF THE QUERY TO THE VARIABLE $RESULT $first_name = ($result, caa44340041); ??? any help is appreciated. The manual is your friend... http://php.net/ifx_fetch_row -Stut -- PHP Windows Mailing L

Re: [PHP-WIN] header()

2006-10-04 Thread Stut
, requesting a read receipt when sending to a public, non-commercial mailing list is generally considered bad manners. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] login stuff

2006-09-30 Thread Stut
he PHP as soon as possible in the script. There is no point processing the form if that basic requirement has not been met. Hope that helps. -Stut -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problems accessing the net units through PHP

2006-09-21 Thread Stut
else echo $error . ": El fichero no existe"; You need to escape \ with a \. So it becomes... $myfile = "Esm2-region2\\Depts_REG2\\Region_Catalunya\\A_TECNOLOGIA\\AT_OyM\\ACCESO_SSA\\Drop3G\\Control_total_alarmas\\logs_hfb"; -Stut -- PHP Windows Mailing List (ht

  1   2   >