[PHP-WIN] Subquerries

2001-04-18 Thread Olivier Botineau
Hi everybody I use * mysql-3.23.36-win * apache_1.3.19-win32 * php-4.0.4pl1-Win32 On NT4 SP5 I try this : that works. Whereas : doesn't work. Does it mean I can't use sub querr

[PHP-WIN] CGI error ONLY on 2x page request?

2001-04-18 Thread Tim Lofstrom
I have browsed the archives, and have a few hints that confirm what I thought may be happening, and seem to have it narrowed down to something in the file system of W2k or file locking in IE 5.5a Running the latest self installing 4.04? php cgi on IIS 5 on Win2K All worked well for a few weeks,

[PHP-WIN] PHP & IIS system() a program in the forground

2001-04-18 Thread Root88
I am running PHP under Windows 2000. I want to play a .wav file on my machine when a certain page gets loaded. I am using the system() function. I can get my machine to run the program, but it runs in the background. I can't hear the .wav when it does that. Is there a way to run the program in th

Re: [PHP-WIN] Excel COM

2001-04-18 Thread Michael C
Ryan: Hey I am going to just say that I am curious myself now So that is why I am posting to this group Thanks Mike ""Conover, Ryan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying to use the excel Com on a win2k/IIS5/php4.0.4pl1 with Office 2

Re: [PHP-WIN] Best non-tackified grip enhancer for golfers,

2001-04-18 Thread Michael C
What does this have to do with PHP for Windows? -- Later Days:) Michael Clesceri ""Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP-WIN] Php3

2001-04-18 Thread rjones
Manesh, Are you trying to run php version 3 or scripts with a php3 extension? If the latter you need to add php3 to your AddType application/x-httpd-php .phtml .php rwj - Original Message - From: "Manesh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 9:33 PM

Re: [PHP-WIN] RE: file .htaccess

2001-04-18 Thread WK
try php_value include_path /directory ""Martijn Weisbeek"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >My site in on Unix server with PHP4. > >I need to insert in file .htaccess in the root this command for an include > >path: > > > >php_include_path /dir

[PHP-WIN] Php3

2001-04-18 Thread Manesh
i have php4 and when i use .php its works, but php3 don't work plz help! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Examples i need :)

2001-04-18 Thread Manesh
I need some sites that gimme examples of PHP, PLEASE -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP-WIN] Can you please help me!

2001-04-18 Thread Manesh
thank you it worked w0t ThE_DeaD -Original Message- From: Martijn Weisbeek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 7:31 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Can you please help me! > OK.. i have win2k and i have some tutorials can you tell me exactly

[PHP-WIN] site check for web methodology

2001-04-18 Thread sunker
dear all, http://www.planetsourcecode.com/xq/ASP/txtCodeId.6599/lngWId.4/qx/vb/scripts/ShowCode.htm

RE: [PHP-WIN] Can you please help me!

2001-04-18 Thread Martijn Weisbeek
> OK.. i have win2k and i have some tutorials can you tell me exactly what > to do? i have frontpages 2k PLEASE PLEASE PLEASE The biggest help is "not starting Frontpage (whatever version)". IMHO, Frontpage can only confuse you when you try to get this started. Of course FP can help if you do no

[PHP-WIN] RE: Newbie seeks help with PHP database connection problems

2001-04-18 Thread Martijn Weisbeek
>How do you create user access priviliges in MySQL and where would you put a >username and password in the mysql_select_db() statement? I suggest you try the fail-safe method of getting mySQL and PHP working together: Before applying any difficult stuff from your books: install phpMyAdmin from w

[PHP-WIN] RE: file .htaccess

2001-04-18 Thread Martijn Weisbeek
>My site in on Unix server with PHP4. >I need to insert in file .htaccess in the root this command for an include >path: > >php_include_path /directory > >Why this command don't work ? I've an internal server error .. Internal Server Error ? One of those damned 500's... To me it sounds like

[PHP-WIN] RE: newbie needs help setting up PHP4 with win98 SE and PWS

2001-04-18 Thread Martijn Weisbeek
> 3. edited php.ini as follows >include_path = f:\phpstuff; where i'll store my php scripts! >doc_root = >user_dir = f:\phpstuff >extension_dir = e:\php4\ >enable_dl = On IMHO, the include_path is where you made just a little error. I think you sho

php-windows Digest 18 Apr 2001 22:04:19 -0000 Issue 551

2001-04-18 Thread php-windows-digest-help
php-windows Digest 18 Apr 2001 22:04:19 - Issue 551 Topics (messages 6815 through 6844): Re: PHP4 won't display page 6815 by: Phil Driscoll Re: PDF_open_memory_image() 6816 by: Wenz Christian Re: Can you please help me! 6817 by: Johannes Janson 6818 by: Gir

Re: [PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread Plutarck
Read the MySQL manual, chapter 6.12 entitled "Setting up the intitial MySQL privileges". You'll want to create a username and password, and then GRANT it the proper privileges. Then just alter your mysql_connect to reflect your username and password, and it should all work fine again. -- Pluta

Re: [PHP-WIN] help with php4 installation

2001-04-18 Thread Frank M. Kromann
After changing anything in the regestry database (regarding PWS) you need to stop and start all PWS servises. it is not enough to stop and start the web server. The easiest way on Win 98 would be to reboot the system. The regestry database is only read when the service starts. You dont need t

[PHP-WIN] newbie needs help setting up PHP4 with win98 SE and PWS

2001-04-18 Thread RJ
Hi, The reason I'm mailing is because I can't get PHP4 to work! Here are the specifics, AFAIK, of my situation. - OS is win98 SE - PHP version 4 - installed MS PWS via the NT 4 option pack steps followed 1. Unpacked the PHP4 distribution successfully to e:\php4 2. copied the proper ini file to

[PHP-WIN] help with php4 installation

2001-04-18 Thread RJ
Hi, The reason I'm mailing is because I can't get PHP to work! Here are the specifics, AFAIK, of my situation. - OS is win98 SE - PHP version 4 - installed MS PWS via the NT 4 option pack steps followed 1. Unpacked the PHP4 distribution successfully to e:\php4 2. copied the proper ini file to

RE: [PHP-WIN] Text area

2001-04-18 Thread Rasna Baruah
Thanks, it worked with a slight tweak. printf("%s\n", ($formValues) ? $formValues["status"] :""); RB -Original Message- From: afan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 4:34 PM To: Rasna Baruah Subject: Re: [PHP-WIN] Text area Try this: printf("%s\n", $row["status

RE: [PHP-WIN] Text area

2001-04-18 Thread Rasna Baruah
Thanks but I'm afraid it didn't work, I a get parse error (expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' ). My line of code is printf("\n", ($formValues) ? $formValues["status"] :""); RB -Original Message- From: Tomasz Abramowicz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Apr

Re: [PHP-WIN] Text area

2001-04-18 Thread Tomasz Abramowicz
- Original Message - From: "Rasna Baruah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 18, 2001 10:05 PM Subject: RE: [PHP-WIN] Text area > I haven't been able to find any clear answer to the question regarding > "textarea". Can anybody help? I am not being able

RE: [PHP-WIN] Text area

2001-04-18 Thread Rasna Baruah
I haven't been able to find any clear answer to the question regarding "textarea". Can anybody help? I am not being able to bring data from a database into a textarea, it works fine if is is just . Thanks RB -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread Johannes Janson
Hi, did you set up a user? If not did you connect as "root"? Have you set a password for your root? Questions, questions. Some hints though: If you haven't set a pswd for root do so. Go to msdos, tpye the path of the mysql\bin directory and then "mysql -u root". You should now be in the mysql-she

[PHP-WIN] file .htaccess

2001-04-18 Thread fipo2001
My site in on Unix server with PHP4. I need to insert in file .htaccess in the root this command for an include path: php_include_path/directory Why this command don't work ? I've an internal server error .. Bye I -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mai

[PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread r.gelstharp
I'm new to the game of PHP and MySQL but have the latest versions of both installed along with Apache on my Win 98 machine. I'm having problems connecting to a database I know is there, an empty one that I'm trying to use PHP to add tables to. In the "die()" statement to the "mysql_select_db()" f

[PHP-WIN] Newbie seeks help with PHP database connection problems

2001-04-18 Thread r.gelstharp
I have installed PHP4 on my Windows 98 machine and have downloaded the latest MySQL server too. I can finally get my PHP scripts to run, but I'm now having problems when trying to connect to my database. I have followed the steps in the book by Julie Meloni PHP Essentials, and have, as far as I

Re: RE: [PHP-WIN] mssql and php4

2001-04-18 Thread Frank M. Kromann
Hi Kelvin, Check the connection from your computer to the server using Query Analyzer if the connection is still slow it is some kind of network problem. If not it must be the PHP installation. Have you checked your php.ini for loading extensions you are not using ? This would affect the CGI

Re: [PHP-WIN] Re: MSSQL varchar fields truncation revisited

2001-04-18 Thread Frank M. Kromann
MySQL and MSSQL is two different databases ! MSSQL 7.0 can handle varchar columns larger than 255, but the C-API used to fetch the data does not support this feature and therefore PHP is limited to fetch only the first 255 characters. The only solution (so far) is to convert to TEXT. - Frank

Re: [PHP-WIN] Xitami Config

2001-04-18 Thread PHPWIN
Same version on win98 machine. If I remove the .php=c:\. in the Xitami.cfg it returns a blank page if it is a php page, even if its just a phpinfo() page that would work on the same machine with apache. Html pages are ok. With the .php=c:\... in the Xitami.cfg, it seems to have a problem, ret

Re: [PHP-WIN] imap_headers($mbox)

2001-04-18 Thread Dan
It seems that some of the IMAP properties are undefined try this script to see what I mean. Also there is a problem when calling IMAP properties when within a function. LAter DAn Mailboxes\n"; $folders = imap_listmailbox ($mbox, "{your.server.name/POP3:110}", "*"); if ($folders == false) {

[PHP-WIN] Best non-tackified grip enhancer for golfers,

2001-04-18 Thread 2hWQtSqND
NO SALES PITCH, NO PRESSURE, NO NOTHING. Just the best non-tackified grip enhancer you'll ever use for your golf game, GUARANTEED, or your money back. From football's #1 specialty product company, SUPAGRIP25 is now available to golf enthusiasts everywhere. Click here http://www.creativef

[PHP-WIN] Re: MSSQL varchar fields truncation revisited

2001-04-18 Thread Dan Cleveland
i was under the impression that varchar fields in mysql had a limit of 255 characters. if this is true, then there is no bug and the only real workaround is to change the field type. i could be wrong, check the mysql manual. good luck... Dan +--

RE: [PHP-WIN] MSSQL varchar fields truncation revisited

2001-04-18 Thread Kelvin Luck
I had the same problem with a cold fusion page a while ago. It turned out that it was nothing to do with cold fusion but actually because I didn't have the latest version of the MDAC components installed onto my cold fusion server. There was a bug in previous versions which meant only the first 25

RE: [PHP-WIN] mssql and php4

2001-04-18 Thread Kelvin Luck
Hi, Thanks for the suggestions. I've tried installing PHP and Apache on a collegues machine and running the same code and it runs much much much faster! Their processor is only a little faster than mine so I think that something must just have gone wrong with my installation. I have tried reinstal

Re: [PHP-WIN] mssql and php4

2001-04-18 Thread joel
>Any other ideas? Other factors that could affect performance would be: Is your table indexed? How big the database is. How complex is the query in "mssql_query($getArticlesSQL)" Server cpu load. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP-WIN] mssql and php4

2001-04-18 Thread joel
>Any other ideas? Maybe you could install mysql and/or interbase on the same server as mssql. Then you could do comparison tests. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

[PHP-WIN] MSSQL varchar fields truncation revisited

2001-04-18 Thread Andrian Pervazov
I'm still using 3.0.16 and when you have to display a varchar field in a MSSQL table everything over 255 characters gets truncated (this affects only selects, not inserts). I know that a workaround would be to transform the fieldtype from varchar to text, but this isn't very practical in the parti

Re: [PHP-WIN] eregi in an IF statement....

2001-04-18 Thread Yasuo Ohgaki
You have additional ")" and this makes you regex invalid. > > if ( eregi ( "([0-9]{3,3})([0-9]{3,3})([0-9]{4,4}))" , $phone > > elseif ( eregi ( "([0-9]{3,3})([0-9]{4,4}))" , $phone , $edit ) ) { I guess you are not displaying all errors. Try error_reporting = E_ALL (PHP4) or 15 (PHP3). You shou

[PHP-WIN] LDAP

2001-04-18 Thread Leplanois Emmanuel
I try to use LDAP with PHP. I am able to connect but not to bind ??? extrait du code source : echo "LDAP query test"; echo "Connexion ..."; $ds=ldap_connect("xx.yy.zz.tt"); echo "Résultat de la connexion : ".$ds.""; if ($ds) { $r=ldap_bind($ds); echo "E

RE: [PHP-WIN] eregi in an IF statement....

2001-04-18 Thread Asendorf, John
I stared at that for an hour and never saw it... Thanks Brad. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aliquando et insanire iucundum est > -Original Message-

Re: [PHP-WIN] Can you please help me!

2001-04-18 Thread Giro De Roover
I strongly recommend the book "PHP Fast&Easy" from Julie Meloni follow exactly all the chapter and you will got everything basic working. Also you can go to her web site at www.thickbook.com and get the toturial and all the code. The book got also a cd rom with apache, php4 and mysql alll for $24.

Re: [PHP-WIN] Can you please help me!

2001-04-18 Thread Johannes Janson
Hi, I'd be delighted to help you if I can but I can't if you don't describe what do you want to DO? Installing PHP, configuring it? Setting up MySQL? Johannes ""Manesh"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK.. i have win2k and i have some t

RE: [PHP-WIN] PDF_open_memory_image()

2001-04-18 Thread Wenz Christian
ok, thanks for the info; I only tried PHP 4.0.5 RC1 and no newer build. Since it works just fine under Unix/Linux, that's no real problem :-) Regards Christian -Original Message- That function was not in PHP 4.0.4pl1. You need a recent build. -Rasmus On Tue, 17 Apr 2001, Christian Wen

Re: [PHP-WIN] PHP4 won't display page

2001-04-18 Thread Phil Driscoll
Your httpd.conf file has a mixture of cgi abd module configuration for php. For the apache module, you don't need the script alias line or the action line. Get rid of them and put your script directly in the htdocs folder for starters. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 htt

php-windows Digest 18 Apr 2001 09:04:32 -0000 Issue 550

2001-04-18 Thread php-windows-digest-help
php-windows Digest 18 Apr 2001 09:04:32 - Issue 550 Topics (messages 6800 through 6814): PDF_open_memory_image() 6800 by: Christian Wenz 6812 by: Rasmus Lerdorf Excel COM 6801 by: Conover, Ryan Class Constructors And PHP on Win2K 6802 by: Freedom 68

RE: [PHP-WIN] mssql and php4

2001-04-18 Thread Kelvin Luck
Thanks for the responses. I am already connecting to my database through TCP/IP (it was set as default in the client network utility). I was just providing the IP address of the database server to the mssql_pconnect function. I just experimented with adding an alias in the client network utility a