[PHP-WIN] Re: PHP version 4.2 and above

2002-05-22 Thread Matt Parlane
Hi James... As from PHP 4.1.0, a versioning system was introduced (why?) which means that you can't use old extension modules with versions >= 4.1.0. You'll need to get the php_gd.dll or php_gd2.dll which came with the binary you have and use that instead of the one you already have. Or did I m

[PHP-WIN] PHP version 4.2 and above

2002-05-22 Thread Opere, James
Hi all. I have aproblem with php >= 4.2.I'm working on graphics but when i install php4.2, i get an error that it doesn't support GD library. Is there anybody who has any idea as to how it can be possible to use the above versions and still run my scripts successfully? Currently i'm using phpdev4

[PHP-WIN] Varying Results Creating Table

2002-05-22 Thread Tim Greenleaf
I have a search page that creates a dynamic table of results from MS SQL Server. The table created on the web page does not always get created properly for the same recordset. Sometimes a field may have a black or red background color and if the same exact search is run again it will display pro

RE: [PHP-WIN] Re: windows 2000 server --- crashing

2002-05-22 Thread Clay Culver
Well I am not using the same hardware but the hardware of my server is a dual PII Xeon 450 2mb cache per CPU with 1GB RAM, custom build. And it has run MySQL and PHP 4.2.x flawlessly (until I create something that makes it crash). Best thing to do is always make sure that you have the la

php-windows Digest 22 May 2002 20:07:21 -0000 Issue 1157

2002-05-22 Thread php-windows-digest-help
php-windows Digest 22 May 2002 20:07:21 - Issue 1157 Topics (messages 13910 through 13929): Executebale code from a databse 13910 by: Peter 13912 by: Michael Virnstein 13914 by: Luis Ferro 13924 by: Peter Re: [PHP] Executebale code from a databse 139

[PHP-WIN] RE: [PHP] Problem : track_vars stopped working.

2002-05-22 Thread Patrick Lynch
Hi Johan, The globals that PHP sets up have changed since since PHP 4.2.x See: http://www.php.net/release_4_2_0.php You can turn on register_globals in the php.ini file but it is recommended to use the more secure $_GET['test'] type variables. Best Regards, Patrick Lynch. Optip Ltd, Internet &

[PHP-WIN] Re: php+oracle

2002-05-22 Thread Mauricio
Hello, my installation was: I used php4.2.0-installer.exe and after it I used php4.2.0-win32.zip (it is the font) for extensions, because the php4.2.0-installer.exe didn't have the extensions directory (directory of my php_oci8.dll). I could not do the compilation of php4.2.0-win32.zip (fonts) be

[PHP-WIN] Xslt extension unable to find files

2002-05-22 Thread Sukhwinder Singh
Hello, I am using php 4.2.0 and apache 2.0 on win95. I am facing some problems with xslt extension. Problem is that xslt processor is unable to find the xml and xsl files. Files are in the same directory as the php file and document_root is e:\wwwroot\newsite. So when I do something like: /

[PHP-WIN] Re: php-4.2.1 and apache2.0 - how to get php working

2002-05-22 Thread Johan Ekström
Are U using php4apache2.dll ? see to it that there is no space " " in the dir to the file. have you copied all the necessary files??? "Nick" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > Could someone please tell me or point me to some instructions on

[PHP-WIN] Re: [PHP] Problem : track_vars stopped working.

2002-05-22 Thread Philip Olson
The php directive track_vars is deprecated and is always on. You appear to be referring to the register_globals directive though, which is a hot topic these days in the world of PHP. If register_globals = on, then $text will exist in your example (register_globals will create it). Otherwis

[PHP-WIN] Re: Executebale code from a databse

2002-05-22 Thread Peter
The security shouldn't be a problem. The user will be taken to www.whatever.com/index.php?page=thispage index.php then searches for a record with name = thispage and then evaluates the code stored in a different column of the database. If the name isn't found, "This page cannot be found" is displa

[PHP-WIN] Problem : track_vars stopped working.

2002-05-22 Thread Johan Ekström
Okay, mystery to me, when I installed PHP 4.2.1 on Apache 2.0.35, the track_vars function, stopped working. a simple command like, example : file : default.php ¨ then I type in the address in ie6, like : http://127.0.0.1/default.php?text=this but it doesn't show anything

[PHP-WIN] Trouble with socket_select

2002-05-22 Thread Bruce Vander Werf
Hi, I am using PHP 4.2.1 under Windows XP. I am having trouble getting socket_select to work on a UDP socket. Here is my code: //Create socket $socket = socket_create(AF_INET, SOCK_DGRAM, 0); if ($socket < 0) echo "unable to create socket(".socket_strerror($socket); else echo "OK"; //enable

[PHP-WIN] Array of COM objects doesn't work in PHP but does in ASP?

2002-05-22 Thread Noah
Hey guys, OK I favor PHP so far above ASP however it doesnt seem like PHP can handle an array of COM Objects. Here's the scenario: Within the 'Deal' object contains an array of 'Bonds'. I want to access each bond by doing: $comDeal->Bonds->Item[$i]; ( btw Item is part of

[PHP-WIN] eregi_replace problems

2002-05-22 Thread Zac Hillier
I'm trying to replace values within a string with a value looked up from a database. I have a function that looks up the value in the database for me but I'm having trouble passing the value to the function because of the backslashes, is there a way around this? Code: $cntnt = eregi_replace(

[PHP-WIN] Re: Having problems grasping reg ex

2002-05-22 Thread Nicole Amashta
preg_replace("/[^a-z0-9]/i", '', $str); R.S. Herhuth wrote: > I'm really struggling trying to grasp the concept of reg ex rfeplacement. > > I have been through the documentation and a few tutorials but I can't > find something that shows me exactly how to return a string that > contains nothing

[PHP-WIN] php-mysql-apache-win- GREAT docs for newbies

2002-05-22 Thread Nick
Want some great docs on getting started with php mysql and apache. Seems like there isnt much around for us newbies but finally i've found some. I havnt tryed them as yet but have read most of them and they seem very good. They may have also saved my computer from getting hurled through my fron

[PHP-WIN] Re: Bits

2002-05-22 Thread Nicole Amashta
Check this out: http://www.php.net/manual/en/language.operators.bitwise.php Nicole Amashta www.aeontrek.com Michael Reynolds wrote: > Are there any functions or operators, which will modify bits in a > variable? If so, which? For example, if I were to use C to set bit 4 on > for variable bit_se

[PHP-WIN] Re: php+oracle

2002-05-22 Thread Nicole Amashta
Hello, Make sure that this dll you have is in the correct extension path AND this dll is a valid version for your verson of PHP. This is usually the main things that will cause the error you specified. In your php.ini, check your extension_dir = and make sure it points to your extensions path

[PHP-WIN] Having problems grasping reg ex

2002-05-22 Thread R.S. Herhuth
I'm really struggling trying to grasp the concept of reg ex rfeplacement. I have been through the documentation and a few tutorials but I can't find something that shows me exactly how to return a string that contains nothing but alpha numeric characters, while stripping out all other characters

Re: [PHP-WIN] Re: Executebale code from a databse

2002-05-22 Thread Luis Ferro
The security danger comes from someone calling things like site_domain/page.php?var=url_encoded_code_here which will then execute all the code... Of course you can before getting the code from the database, clear the var and later check for it's size... Cheers, Luis Ferro TelaDigital Micha

[PHP-WIN] Smart Navigation

2002-05-22 Thread Fred Forsyth
Is there any way to emulate ASP.NET's smartNavigation trick? What it does it to maintain control state and scroll position between postbacks, as well as stopping the page from flickering when reloading. It makes a mostly static page look very cool. Anyone done this in PHP, or know how to use IFRA

[PHP-WIN] Re: Executebale code from a databse

2002-05-22 Thread Michael Virnstein
eval ('?>'.$var.' then comes the content of the php script which also can contain html and then we reopen and you say $var = ""; you'll result in ... eval("?> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi. > I'm changing my website to one based on My-SQL which will

[PHP-WIN] Re: [PHP] Executebale code from a databse

2002-05-22 Thread Dan Hardiker
Use eval ... although beware of the serious security implications. > Hi. > I'm changing my website to one based on My-SQL which will help with > organization and searching etc. Hopefully, the code for all the pages > will be stored in the database too. > However, I cannot get PHP to parse / execu

[PHP-WIN] Executebale code from a databse

2002-05-22 Thread Peter
Hi. I'm changing my website to one based on My-SQL which will help with organization and searching etc. Hopefully, the code for all the pages will be stored in the database too. However, I cannot get PHP to parse / execute the code stored in the database. The script $query = mysql_query("SELECT *

php-windows Digest 22 May 2002 07:58:52 -0000 Issue 1156

2002-05-22 Thread php-windows-digest-help
php-windows Digest 22 May 2002 07:58:52 - Issue 1156 Topics (messages 13894 through 13909): Can someone explain to me 13894 by: Asendorf, John 13895 by: Scott Carr 13896 by: Scott Hurring 13899 by: Jim lucas Easy Way To Compile Extension in Win32

RE: [PHP-WIN] Re: windows 2000 server --- crashing

2002-05-22 Thread Brian McGarvie
hmm, I've been successfully using IIS 5/PHP 4.2.1 (also making use of mysql 3.23.49) and MSSQL Server, combination on win2k server for a few months now, recently using php 4.2.1 and still no 'nasties' have happened... It is worring tho that there seems to be such a leap from systems running fine