RE: [PHP-WIN] Wierd Windows Problems

2003-01-30 Thread Jill . Ramonsky
I don't know if this is relevant, but that's dodgy HTML. Tag attributes should always be quoted, thus: Add It may not make any difference, but I thought I'd mention it just in case it does. Jill -Original Message- From: Chris Deam [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2

[PHP-WIN] Re: Counter problems!

2003-01-30 Thread J.Veenhuijsen
This is working on my test system. "; ?> Jochem Cybot wrote: CORRECT use $_SESSION ! counter.php: "; ?> index.php "; include("counter.php"); ?> Radovan Radic wrote: Hi I want to add simple counter on my index.php page. counter.php: "; ?> index.php "; include("counter.php"); ?> This

Re: [PHP-WIN] Wierd Windows Problems

2003-01-30 Thread Bobo Wieland
in that case: since quoting attributes is only _really_ neccesary in xhtml, should be , since all tag and attribute namnes must be in lower-case, too... And I think that; Add if ($action == "Add"){ do something; } shold do the trick for att browsers and platforms... . bobo . www.elstudion

Re: [PHP-WIN] Re: How do i load my new activex dll?

2003-01-30 Thread Per Lundberg
Wayne wrote: But i get the following error, now, apache only works as a multi threaded webserver doesn't it? Apache for Windows, yes. (Apache for Linux and Unix is an altogether different story) Fatal error: dl() is not supported in multithreaded Web servers - use extension statements in you

RE: [PHP-WIN] Wierd Windows Problems

2003-01-30 Thread Jill . Ramonsky
Actually I think it's that opening and closing tags must have the SAME case. I don't think they have to be all lower case though. Thus must be matched with , with , and with . I still don't know if any of this will help the original questioner, but at least we're encouraging good practice. Jil

Re: [PHP-WIN] Wierd Windows Problems

2003-01-30 Thread Bobo Wieland
if it's xhtml, it _has_ to be all lower-case! tag names, attribute names, event handlers, all lower-case... if it's html it can be what-ever... since i guess xhtml will eventually replace html, and since the html-standard is a some what crappy standard, the good practice would be to allways use low

RE: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread Svensson, B.A.T. (HKG)
Well, the problem might be view as an ethical & philosophical one: How much are you prepared to lie to achieve a certain goal? Many properties/features with software are not what they really look like anyway. Software just pretends to work while it actually does not work at all. It only stick to

RE: [PHP-WIN] Something like trim()

2003-01-30 Thread Svensson, B.A.T. (HKG)
Something like (not tested and compiled - please find the bugs :)) will remove white space dups: char *TrimInString(char *pzWashMe) { if (!pzWashMe) return NULL; register char *pzMarker = pzWashMe; bool bStillTrimingString = false; while (StrReplacee("\t", " ", pzMarkerrReplacee("\n", "

Re: [PHP-WIN] Something like trim()

2003-01-30 Thread Bobo Wieland
I'll answering it myself so that no one else has to bother; $str = ereg_replace("[[:space:]]+", " ", trim($str)); . bobo - Original Message - From: "Bobo Wieland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 8:26 AM Subject: [PHP-WIN] Something like trim(

[PHP-WIN] Re: Counter problems!

2003-01-30 Thread Radovan Radic
Yes, but what if you refresh the page? Or type in the address bar index.php and press enter, i think it will be increased? Radovan "J.Veenhuijsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is working on my test system. > > session_start(); > if ( !

RE: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread Jill . Ramonsky
Try this... "; ?> -Original Message- From: Radovan Radic [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:06 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Counter problems! Yes, but what if you refresh the page? Or type in the address bar index.php and press enter, i thin

[PHP-WIN] Running PHP and ASP on same server.

2003-01-30 Thread Fred Mastropasqua
Hello First time on here, have a problem, can you help or is there an old archived mail about it. Basically this is my problem. I've searched everywhere found bits of info here and there but nothing that helps. I have IIS 5 on Win2K. If I install PHP 4.2.3 on my system using the ISAPI DLL

RE: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread Jill . Ramonsky
For reasons of scope, you may need to first use $count outside the braces. This would give you... "; ?> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Counter problems!

2003-01-30 Thread J Veenhuijsen
I tested that and the counter does not increase when i hit the refresh button or press enter in the adressbar. It only increases when i quit the explorer and reopen the same link afterwards. Which is ofcourse a new visit because the session is distroyed when closing the browser. Jochem Radovan

RE: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread Jill . Ramonsky
Yes, Jochem's right. One thing though, Radovan. If your script WRITES TO the file "counter.txt" then I assume that script's directory must give write permission to the whole world. That is a very dangerous thing to do. There would be nothing to stop a hacker from saving arbitrary binary (or PHP) c

[PHP-WIN] Excel

2003-01-30 Thread Sichta Daniel
Hi, cfg: IIS 5.1, php4.1.2 After submiting web form I'm creating Excel file on server. Then I need to show it in client browser. How can I do it ? Ing. Daniel Šichta EIF AS TIS SWH s.r.o. Bytčická 2 010 01 Žilina tel.: +421 41 505 5889 fax: +421 41 505 5809

Re: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread J Veenhuijsen
A little trick could be to place couter.txt outside of the docroot. I placed couter.txt as c:\couter.txt and that works. Jochem Jill Ramonsky wrote: Yes, Jochem's right. One thing though, Radovan. If your script WRITES TO the file "counter.txt" then I assume that script's directory must give w

Re: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread J Veenhuijsen
I only set full rights on the counter.txt file (windows system) I dont know if it works the same way on other OS'es Full rightn the docroot means browser can open the file as Http://url/counter.txt This is prevented by placing couter.txt outside the docroot. Or am I wrong here? Jochem Jill R

Re: [PHP-WIN] Excel

2003-01-30 Thread Jerry Nelson
At 1/30/2003 08:47 AM, you wrote: Hi, cfg: IIS 5.1, php4.1.2 After submiting web form I'm creating Excel file on server. Then I need to show it in client browser. How can I do it ? Have the client use IE as their browser and put this at the beginning of the module header("Content-Type: applic

RE: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread Svensson, B.A.T. (HKG)
Doing so one will decrease the cohesion and increase the coupling of the system (you want to do the other way around). Better put it into the database, then an admin wont by "mistake" delete that file, and as bonus you will decrease coupling with other components, e.g. "C:\.". > -Original Mess

Re: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread Luis Ferro
counters... 1. make an 1px * 1px transparent image 2. make a php page that delivers that image always depending on the exact url of it... and stores the result on the required record... 3. make a rotine that generates those url and that stores the reference in a database... 4. make a rotine that

[PHP-WIN] Re: Counter problems!

2003-01-30 Thread Radovan Radic
Thank you, i didnt try it yet and sorry - i assumed it will work wrong. Radovan "J Veenhuijsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I tested that and the counter does not increase when i hit > the refresh button or press enter in the adressbar. > It

Re: [PHP-WIN] Re: Counter problems!

2003-01-30 Thread Radovan Radic
Yes, database is much better solution, but i wanted to make very simple script for counter. Thanks to all Radovan "Jill Ramonsky" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes, Jochem's right. > > One thing though, Radovan. If your script WRITES TO the fi

Re: [PHP-WIN] MySQL - question

2003-01-30 Thread Cam Dunstan
bobo I doubt that the table will be too big myself given the limitations which you will find in the mysql manual (far above your requirements). Spend a bit of time and calculate the actual size of the table - while it sounds huge you might be pleasantly surprised. A database of properties in a lo

Re: [PHP-WIN] Something like trim()

2003-01-30 Thread Cam Dunstan
check out str_replace()- you`ll find it in the "string functions" section of the manual. - Original Message - From: "Bobo Wieland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 6:26 PM Subject: [PHP-WIN] Something like trim() > Is there an easy way t

[PHP-WIN] IMAP - POP

2003-01-30 Thread jab
Hi, since I do not have a computer background I´d like to ask if anybody can tell me how to compile the c-client library . I intend to establish the web interface via pop. thank you. jab

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

2003-01-30 Thread Jammy Hall
I running Windows 2000 w/SP3 and IE 6 w/SP1 and I can't get pages using PHP to show up in my browser I don't get any errors, just a blank space were the PHP info would be. Any suggestions??? Thanks, Jammy -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

php-windows Digest 30 Jan 2003 16:43:27 -0000 Issue 1563

2003-01-30 Thread php-windows-digest-help
php-windows Digest 30 Jan 2003 16:43:27 - Issue 1563 Topics (messages 18208 through 18240): Register globals on and off 18208 by: Davy Obdam Re: Unsetting PHP_AUTH_* 18209 by: DAS6804.red.cam.es MySQL - question 18210 by: Bobo Wieland 18237 by: Cam Dunstan

[PHP-WIN] What are the PHP Best Practices in virtual Server environment?

2003-01-30 Thread Mark Thornton
What are the Best Practices for configuring PHP on IIS5 for virtual servers? What are the security implications? What doesn't work, if anything? -- Mark Thornton -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] getimagesize() error

2003-01-30 Thread Ryan
I just upgraded my php version to 4.3.0 on a Linux box. The configuration is the same as previous installs except for added support for IMAP/POP. getimagesize() is now reporting the following error: *Warning*: getimagesize() [function.getimagesize ]: p

[PHP-WIN] For those who ask about a great host...

2003-01-30 Thread Asendorf, John
I would just like to say that I have been with Spenix for a month for a personal domain now and am so incredibly happy that I wanted everyone to know how great these guys are. http://www.spenix.com I will never switch to another host (and I've probably worked with a dozen for a variety of project

Re: [PHP-WIN] Wierd Windows Problems

2003-01-30 Thread Chris Deam
Okay, you are correct about the coding practices, but this is not really helping me. One other thing I forgot to mention is that I have two such buttons: Search http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Apache service stalls

2003-01-30 Thread Pedro MG
Hi, i installed succesfully Apache 2.0.43 on a Win Millenium as a service. The problem is that i can't stop the service using the command line, and using the monitor. I cant even restart it. If i delete the "process" using alt-ctrl-del, the computer stall for 1 minute, and after i get a new proce

Re: [PHP-WIN] Wierd Windows Problems

2003-01-30 Thread Dash McElroy
Looks like a missing quote could be a culprit here. Add Would you not also need a value="Add" in the tag? IE borks on stuff like that. -Dash For those who like this sort of thing, this is the sort of thing they like. -- Abraham Lincoln On Thu, 30 Jan 2003, Chris Deam wrote:

[PHP-WIN] Re: Wierd Windows Problems

2003-01-30 Thread Chris Deam
Okay, I fixed it. Here is the fix. Instead of: Search Add But what I don't understand is that the latter works both in IE and Netscape on the Linux setup, but only the fix works on the windows setup. Any ideas? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: htt

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

2003-01-30 Thread Stephen Edmonds
Well its not your browsers fault - PHP is all generate before being sent to the browser. Is PHP enabled on your webserver? Which server are you using? Did you remember to restart the server after installing php? And is your file end with .php? More infomation on your server/php page would be helpf

[PHP-WIN] Turn on Error Messages

2003-01-30 Thread Wade
01302003 1407 CST How do you turn on error messages in your PHP scripts? I have removed ";" from the php.ini and changed OFF to ON in two locations. But when I check the phpinfo() page it still says they are off and my pages still return no errors. What gives? Wade -- PHP Windows Mailing List

[PHP-WIN] Re: Running PHP and ASP on same server.

2003-01-30 Thread Christoph Grottolo
[EMAIL PROTECTED] (Fred Mastropasqua) wrote: >I have IIS 5 on Win2K. > >If I install PHP 4.2.3 on my system using the ISAPI DLL I can run PHP files >just fine. >But when I go back to my ASP pages I get: >-- > -2147417842 (0x8001010e) error on the pages >--

[PHP-WIN] Re: Apache service stalls

2003-01-30 Thread Wade
01302007 1410 CST I couldnt get 2.0.43 to run on W2k either. Just use 1.3.26. Its stable and it just works. Unless you absolutly need something in 2.0.43 or just want to play with it, dont use it for anything developmental. Wade Pedro Mg wrote: Hi, i installed succesfully Apache 2.0.43 on a W

[PHP-WIN] Re: Turn on Error Messages

2003-01-30 Thread Christoph Grottolo
[EMAIL PROTECTED] (Wade) wrote: >01302003 1407 CST > >How do you turn on error messages in your PHP scripts? >I have removed ";" from the php.ini and changed OFF to ON in two >locations. But when I check the phpinfo() page it still says they are >off and my pages still return no errors. What giv

[PHP-WIN] SQL SERVER TRUSTED CONNECTION HELP

2003-01-30 Thread Daniel Masson
Hello list. I know about sql server authentication (windows and sql) y installed sql server 2000 on an win xp box, and my server already has "SQL and windows authentication", and still my php script goes "Login failed for user 'myuser'. Reason: Not associated with a trusted SQL Server connection.

RE: [PHP-WIN] SQL SERVER TRUSTED CONNECTION HELP

2003-01-30 Thread Bruce Barnes
What version of XP are you running. If you are not running XP Professional and you have an Internet connection, it will NOT connect simultaneously to another computer or server. Bruce Barnes ChicagoNetTech / Rinella Internet Services -Original Message- From: Daniel Masson [mailto:[EMAIL

RE: [PHP-WIN] SQL SERVER TRUSTED CONNECTION HELP

2003-01-30 Thread Daniel Masson
It is XP professional .. the scripts are running on a NT box on IIS 4 and database on XP professional. Thanks for your reply. -Mensaje original- De: Bruce Barnes [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 30 de enero de 2003 17:44 Para: [EMAIL PROTECTED] Asunto: RE: [PHP-WIN] SQL

[PHP-WIN] php4apache.dll on windows2k gives warning

2003-01-30 Thread pzaz
I started with these files for my Win2k laptop: Apache_1.3.27-Mod_SSL_2.8.12-OpenSSL_0.9.6h-Win32.zip php-4.3.0-Win32.zip mysql-3.23.54-win.zip However, when I start apache from the command prompt I get the following [warn]... Loaded DSO C:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this

RE: [PHP-WIN] SQL SERVER TRUSTED CONNECTION HELP

2003-01-30 Thread Frank M. Kromann
If your SQL Server is configured with both SQL and Windows auth you shoule be able to connect using a SQL user. You need to configure both Server and client to use the same default protocol, or configure an alias at the client using the protocol expected by the server. These configurations are don

[PHP-WIN] SSI, SHTML and PHP, INCLUDES...

2003-01-30 Thread Leo G. Divingracia III
have a slight problem. need to include some template files that are javascript. so i have setup my apache 1.3.x server to parse .SHTML files. now, i need to add php to this. so fine. all i thought i could do was add this to my apache conf file: AddType application/x-httpd-php .php4 .php .htm .

Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Dash McElroy
Yes. Either via a .htaccess file or in your httpd.conf in a Directory entry put this: php_value register_globals on See the following URL's for more info: http://www.php.net/manual/en/configuration.changes.php http://www.php.net/manual/en/function.ini-set.php -Dash AQUARIUS (Jan 20 - Feb 18)

Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Davy Obdam
Thanks for your reactions guys, I stil havent been able to get it to work... I have added a .htaccess file into my directory that needs the register globals on, containing php_value register_globals on And i have chanched AllowOverride None to all in the httpd.conf file, and restarted my webser

[PHP-WIN] Re: [PHP] Re: [PHP-WIN] Register globals on and off

2003-01-30 Thread Tom Rogers
Hi, Friday, January 31, 2003, 10:42:42 AM, you wrote: DO> Thanks for your reactions guys, I stil havent been able to get it to DO> work... I have added a .htaccess file into my directory that needs the DO> register globals on, containing DO> php_value register_globals on DO> And i have chanche