Re: [PHP] REGEX Question

2003-06-18 Thread Don Read
On 17-Jun-2003 Ron Dyck wrote: I need to match text between two html comment tags. I'm using: preg_match(/!--start_tag--(.*)!--end_tag--/, $data, $Match) Which work fine until I have carriage returns. The following doesn't match: Use the m (multiline) modifier:

php-general Digest 18 Jun 2003 07:36:47 -0000 Issue 2124

2003-06-18 Thread php-general-digest-help
php-general Digest 18 Jun 2003 07:36:47 - Issue 2124 Topics (messages 151886 through 151931): PHP.net Manual Magic? 151886 by: Mark D Hiatt 151889 by: CPT John W. Holmes Re: Translate easy the language of the web site 151887 by: Jacob Marble Re: Password generator

Re: [PHP] php editor?

2003-06-18 Thread Zeev Suraski
This list is not owned by Zend. One should still not be talking about cracking software (Zend or otherwise) on it, though... Zeev At 14:51 14/06/2003, Ryan A wrote: What can i say? if you aint living on the edge you're taking up too much space I reccomend you don't talk about cracking

[PHP] preg_match warning under windows

2003-06-18 Thread Armand Turpel
Hi, The following preg_match work fine under linux but under windows I get a warning. Why? preg_match([EMAIL

[PHP] odbc_connect

2003-06-18 Thread Wim Paulussen
LS, I try to get connected to a MSSQL via ODBC (setup with Windows authentication) , but this is the error I get. Warning: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY \ANONYMOUS LOGON'., SQL state 28000 in SQLConnect Anyone any ideas ? Thx,

RE: [PHP] php editor?

2003-06-18 Thread Wim Paulussen
Well said ! More in general , I would like to take the opportunity to thank you and the Zend team for your contribution with regards to the complete PHP project. Wim -Oorspronkelijk bericht- Van: Zeev Suraski [mailto:[EMAIL PROTECTED] Verzonden: Wednesday, June 18, 2003 9:50 AM Aan: Ryan

[PHP] Re: chmod?

2003-06-18 Thread Giuliano
Hi Other PHP Users, i am a new PHP programmer and i love it; I am really at the beginning, and i have dowloaded some scripts and programs to begin understand how it works... (I have installed PHP + MySql + Apache on a Win98 machine). To install 1 of those programs, the instructions say that I

Re: [PHP] REGEX Question

2003-06-18 Thread SLanger
Hello Two things: First wouldn't it be faster to use strpos and substr if you simply have to find the literate !-- start_tag -- and !-- end_tag --. Second: If you use your regex and you have something like !-- start_tag -- This is some text to grasp!-- end_tag -- this is text I don't want !--

Re: [PHP] Re: chmod?

2003-06-18 Thread Jason Wong
On Wednesday 18 June 2003 16:30, Giuliano wrote: i am a new PHP programmer and i love it; I am really at the beginning, and i have dowloaded some scripts and programs to begin understand how it works... (I have installed PHP + MySql + Apache on a Win98 machine). To install 1 of those

[PHP] Problems with quotes in URL

2003-06-18 Thread Petre Agenbag
Hi List I don't know what I'm doing wrong: Firstly, I upgraded from 4.0.1 to 4.3.1 and made sure that I have similar settings in php.ini wrt register_globals and magic_quotes. I now have problems with some of my apps: For instance: IN a mysql db, I would have a name like :[ whatever

[PHP] Re: need help on coding

2003-06-18 Thread Mark Clarkstone
Shien Hang Low [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Gabor Hojtsy [EMAIL PROTECTED] To: Shien Hang Low [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: need help on coding Date: Sun, 15 Jun 2003 12:26:53 +0200 Please ask support questions at [EMAIL

Re: [PHP] Problems with quotes in URL

2003-06-18 Thread Chris Hayes
IN a mysql db, I would have a name like :[ whatever whatever ] I do a select on the table and then echo the name on a page, as well as add it to a url: page.php?myvar=$myvar where $myvar contains the [ whatever whatever ] Now, when I try to echo $myvar on the page.php, I don't get the entire

Re: [PHP] Problems with quotes in URL

2003-06-18 Thread Marek Kilimajer
?PHP if ($_GET['x']=='') {$i='whatever Whatever'; echo 'a href=get.php?x='.urlencode($i).'link/a'; } else echo 'x is '.urldecode($_GET['x']); Incomming GET values are urldecoded automaticaly, no need to do this. ? and the url looks like:http://www.X.nl/get.php?x=whatever+%22Whatever%22

[PHP] RE: [PHP-WIN] Password generator

2003-06-18 Thread Svensson, B.A.T. (HKG)
Create a string which is six char long, (for instance shop the head and tail of the first string if you are not able to generate a six char string) If you chop an 8 char string and MUST have the special chars in the string then check that the chopped char's is not a memember of the special

Re: [PHP] Add new loadable module in php

2003-06-18 Thread Marek Kilimajer
What platform are you running, where did you get php, do you have imap.so in the extension directory, did you restart webserver after changing its configuration? Skon Lapamnuaypol wrote: Hi, I'm newbie in PHP and tried to install webmail appliction on PHP engine. That webmail require a module

RE: [PHP] Q : HELP HTML forms parsed into an array for PHP

2003-06-18 Thread Ow Mun Heng
Hi Jason, Sorry but your code doesn't work. I tried fiddling with it but since I'm a newbie, I'm a bit lost. for lines that has '$isbn - should it read '$isbn'? After submitting the form to itself, I tried to echo the $status, $newisdn but nothing comes out. For The Javascript, can I

RE: [PHP] error with null $HTTP_GET_VARS['field']

2003-06-18 Thread Ford, Mike [LSS]
-Original Message- From: Logan McKinley [mailto:[EMAIL PROTECTED] Sent: 17 June 2003 19:55 right now if a the 'field' key does not exist at all in the querystring it returns the following error: Notice: Undefined index: Register in c:\inetpub\wwwroot\PHP\Register.php on line 3

[PHP] strip tags not working - any ideas ?

2003-06-18 Thread Neil
Hello all I am trying to strip all HTML and other tags from a document, I have read the docs and written a 4 line script that should do the job (from my point of view ! ). However it seems to have literally no effect. Heres the script : ? $file=readfile(http://namx.co.uk/webstats/;); if

RE: [PHP] Installation

2003-06-18 Thread esctoday.com | Wouter van Vliet
If you're using a RedHat linux distribution .. have you also installed the php-mysql package .. I'm not totally sure about it's name, just give a search for either mysql or php on the redhat network (rhn.redhat.com) and you'll see that there's a package for php to connect with mysql ... Not sure

[PHP] Help needed

2003-06-18 Thread Shishir Kumar Mishra
Hi List, Is it possible to read XML data and return as string to browser (as string)? I do have css file but I need to get data from database and create a XML string (with the css file). This xml string has to be returned in browser(I.E.) rather than as XML file. regards.. Shishir Kumar

Re: [PHP] strip tags not working - any ideas ?

2003-06-18 Thread Jason Wong
On Wednesday 18 June 2003 18:27, Neil wrote: I am trying to strip all HTML and other tags from a document, I have read the docs and written a 4 line script that should do the job (from my point of view ! ). However it seems to have literally no effect. Heres the script : ?

Re: [PHP] Add new loadable module in php

2003-06-18 Thread Skon Lapamnuaypol
We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm package from rpmfind.com. The problem occurred on v-webmail from phpguru.org. I already copied imap.so into /usr/lib/php4 and add an extension of imap.so on /etc/php.ini, then restart httpd. But, the application still can't

[PHP] Sharing Encrypted (TripleDES) Token between PHP .NET

2003-06-18 Thread Skex
Can anyone shed any light on why when I encrypt a string $str using Initialisation Vector $iv TripleDES (ECB mode) I get different results on .NET platform when compared to php? I am attempting to interface to a third party (.NET) host and we need to be able to both create shared secret tokens

Re: [PHP] strip tags not working - any ideas ?

2003-06-18 Thread Neil
Jason Wong wrote: On Wednesday 18 June 2003 18:27, Neil wrote: I am trying to strip all HTML and other tags from a document, I have read the docs and written a 4 line script that should do the job (from my point of view ! ). However it seems to have literally no effect. Heres the script : ?

Re: [PHP] strip tags not working - any ideas ?

2003-06-18 Thread John W. Holmes
Jason Wong wrote: On Wednesday 18 June 2003 18:27, Neil wrote: I am trying to strip all HTML and other tags from a document, I have read the docs and written a 4 line script that should do the job (from my point of view ! ). However it seems to have literally no effect. Heres the script : ?

Re: [PHP] strip tags not working - any ideas ?

2003-06-18 Thread John W. Holmes
Neil wrote: I know that file() returns arrays, but i think readfile() returns a string. Stop thinking and read the manual. :) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals www.phparch.com -- PHP General

[PHP] CSS help

2003-06-18 Thread Angelo Zanetti
Hi guys sorry for the off topic post. i am not getting any success with Css @ the moment. What I need is basically a class in my CSS file that defines everything about A links. I have this class but it aint working (i know its wrong): .sideMenu { hover{color:white}; visited {color:

Re: [PHP] strip tags not working - any ideas ?

2003-06-18 Thread Neil
John W. Holmes wrote: Jason Wong wrote: On Wednesday 18 June 2003 18:27, Neil wrote: I am trying to strip all HTML and other tags from a document, I have read the docs and written a 4 line script that should do the job (from my point of view ! ). However it seems to have literally no effect.

Re: [PHP] Add new loadable module in php

2003-06-18 Thread Neil
Skon Lapamnuaypol wrote: We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm package from rpmfind.com. The problem occurred on v-webmail from phpguru.org. I already copied imap.so into /usr/lib/php4 and add an extension of imap.so on /etc/php.ini, then restart httpd. But, the

RE: [PHP] Add new loadable module in php

2003-06-18 Thread Brian S. Drexler
I've run into a similar situation before because my default PHP install was not using the php.ini in /etc/ . In your phpinfo() does it list /etc/php.ini for the ini file or is something else listed? -Original Message- From: Neil [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003

Re: [PHP] CSS help

2003-06-18 Thread Lowell Allen
From: Angelo Zanetti [EMAIL PROTECTED] Hi guys sorry for the off topic post. i am not getting any success with Css @ the moment. What I need is basically a class in my CSS file that defines everything about A links. I have this class but it aint working (i know its wrong):

Re: [PHP] Add new loadable module in php

2003-06-18 Thread Marek Kilimajer
Check apache logs, or run php from command line. Skon Lapamnuaypol wrote: We use PHP 4.3.1 on Apache 1.3.27 (RedHat 7.3). We got a binary PHP rpm package from rpmfind.com. The problem occurred on v-webmail from phpguru.org. I already copied imap.so into /usr/lib/php4 and add an extension of

Re: [PHP] go through array

2003-06-18 Thread Diana Castillo
thanks, now if I want to take off the first element how can I do it and also get the key back as well ? If I do an array shift that resets the keys and I dont want to do that. David Nicholson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you

[PHP] AOL and PHP

2003-06-18 Thread rml
I have recently created a site that has some PHP in it. It works fine in all browsers except AOL. I can see some of the PHP page in AOL except the one that fetches information from MySQL database. I also host my own server for this site. Maybe this is a server setting or securtity issue.

RE: [PHP] AOL and PHP

2003-06-18 Thread Jay Blanchard
[snip] I have recently created a site that has some PHP in it. It works fine in all browsers except AOL. I can see some of the PHP page in AOL except the one that fetches information from MySQL database. I also host my own server for this site. Maybe this is a server setting or securtity

[PHP] array_shift

2003-06-18 Thread Diana Castillo
how can I do an array shift without reseting the keys? how can I get the key of the first element removed with an array _shift? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with quotes in URL

2003-06-18 Thread Petre Agenbag
OK, this is the URL that my code produces after it get's the my_var from the mysql table. my_var in the table is = whatever whatever whatever whatever So I do a select and I do a $my_var = $myrow['my_var'] (after all the proper mumbo jumbo about the $myrow = mysql_fetc_assoc...etc.) I then do a

Re: [PHP] Re: php editor?

2003-06-18 Thread Alberto Ferrer
im use PHPcoder too, and the best :) http://devphp.sourceforge.net/ , and in Linux Zend Studio :) -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org -- Syntax Error in KITCHEN.H:

Re: [PHP] Problems with quotes in URL

2003-06-18 Thread Chris Hayes
(cutted the part about sending a var as get) page.php?my_var=whatever+whatever++%5C%22whatever+whatever%5C%22next_var=blabla ok so here the variable is still complete, including slashes and quotes. And now, on page.php If I do an echo stripslashes($my_var); I get exactly this: whatever

Re: [PHP] Install

2003-06-18 Thread Chris Hayes
At 14:39 18-6-03, you wrote: Hi, i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro. now the issue is that i have all the 3 application running and interacting with each other in sync but every time i try to connect to mysql through php it gives me this error: Warning:

Re: [PHP] Problems with quotes in URL - SOLVED - plz FLAME me!!!

2003-06-18 Thread Petre Agenbag
Hi lists ( and all the guys trying to help me) Firstly SORRY, I oversimplified my examples that I posted in the hope that I would get to the solution faster. What i failed to mention in my stupidity, was that I echoed the variable as the value of a form input text field, so I actually messed up

Re: [PHP] CSS help

2003-06-18 Thread Brian V Bonini
On Wed, 2003-06-18 at 07:14, Angelo Zanetti wrote: Hi guys sorry for the off topic post. i am not getting any success with Css @ the moment. What I need is basically a class in my CSS file that defines everything about A links. I have this class but it aint working (i know its wrong):

RE: [PHP] Problems with quotes in URL - SOLVED - plz FLAME me!!!

2003-06-18 Thread Aaron Gould
Oh come on now, we don't flame people, or even engage in name-calling for that matter on this list... :) We all learn our lessons. -- Aaron Gould Web Developer Parts Canada -Original Message- From: Petre Agenbag [mailto:[EMAIL PROTECTED] Sent: June 18, 2003 8:49 AM To: Chris Hayes

Re: [PHP] Problems with quotes in URL - SOLVED - plz FLAME me!!!

2003-06-18 Thread CPT John W. Holmes
No, I'm all for a public flaming... let him serve as an example to others!! :) In all honesty, I have posted about the htmlentities/htmlspecialchars() requirement when putting data in form inputs quite a lot recently. You should have picked up on it sooner. :) Oh well, though... at least you know

[PHP] RE: your mail

2003-06-18 Thread Lambrecht Joris
Hi People, The below output is quite strange since i think to have set up php.ini correctly. I simply ran a php_w32api demo script and took care of all i know wich had to be configured. I'm not sure what this message really means, is it either the dl() function i should be paying attention to or

Re: [PHP] RE: your mail

2003-06-18 Thread Marek Kilimajer
Check the logs if php_w32api.dll extension is really loaded. Lambrecht Joris wrote: Hi People, The below output is quite strange since i think to have set up php.ini correctly. I simply ran a php_w32api demo script and took care of all i know wich had to be configured. I'm not sure what this

[PHP] Session filesize limit

2003-06-18 Thread Hardik Doshi
Hi Group, Does anyone know about the ideal session filesize limit? I am using the common functionality in the entire application. So i am thinking to store data into the session file once user logs into the system rather retrieving the information from database on each user request. But i dont

RE: [PHP] Session filesize limit

2003-06-18 Thread Jay Blanchard
[snip] Does anyone know about the ideal session filesize limit? I am using the common functionality in the entire application. So i am thinking to store data into the session file once user logs into the system rather retrieving the information from database on each user request. But i dont know

Re: [PHP] Session filesize limit

2003-06-18 Thread CPT John W. Holmes
Does anyone know about the ideal session filesize limit? I am using the common functionality in the entire application. So i am thinking to store data into the session file once user logs into the system rather retrieving the information from database on each user request. But i dont know

[PHP] Install

2003-06-18 Thread Anand Tomar
Hi, i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro. now the issue is that i have all the 3 application running and interacting with each other in sync but every time i try to connect to mysql through php it gives me this error: Warning: mysql_connect(): Client does

[PHP] Re: [PHP-WIN] Install

2003-06-18 Thread Per Lundberg
On Wed, 2003-06-18 at 14:39, Anand Tomar wrote: i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro. now the issue is that i have all the 3 application running and interacting with each other in sync but every time i try to connect to mysql through php it gives me

RE: [PHP] Session filesize limit

2003-06-18 Thread Hardik Doshi
Hi Jay, Thanks for your quick reply. I am storing the session file on the server. Once user logs into the system, i am storing username and his/her roles (status) in the session files and on each page request i am retrieving the information from the session files. Now i need to add some more

[PHP] Fatal error: Call to undefined function: str_word_count()

2003-06-18 Thread nabil
when i use str_word_count() i got the following : Fatal error: Call to undefined function: str_word_count() and my PHP is Version 4.2.3 What is the problem ??? thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Fatal error: Call to undefined function: str_word_count()

2003-06-18 Thread CPT John W. Holmes
nabil [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... when i use str_word_count() i got the following : Fatal error: Call to undefined function: str_word_count() and my PHP is Version 4.2.3 What is the problem ??? Reading English? us2.php.net/str_word_count PHP

[PHP] Connecting to MSSQL Using PHP on Apache 2.X.X Windows Machine

2003-06-18 Thread Gary Ogilvie
Hi everyone, I am trying to connect to MSSQL and create a table in a database using PHP. Here is my code: ?php $myServer = 192.92.0.248; $myUser = repro; $myPass = repro; $myDB = repro; print (Attempting to connect to MSSQL - br); $s = @mssql_connect($myServer, $myUser, $myPass) or

[PHP] Calling c function from php

2003-06-18 Thread Mignon Hunter
hello, I thought I posted this yesterday but accidentally posted to php-db. Anyway, can any make a suggestion on how to connect to a c function from a php app? I have to connect to a sales tax calculation software. The function is being written for me but I have to figure how to call it -

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X Windows Machine

2003-06-18 Thread Jay Blanchard
[snip] ?php $myServer = 192.92.0.248; $myUser = repro; $myPass = repro; $myDB = repro; print (Attempting to connect to MSSQL - br); $s = @mssql_connect($myServer, $myUser, $myPass) or die(Couldn't connect to SQL Server on $myServer); print (stage2); $d = @mssql_select_db($myDB, $s)

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Adam Voigt
Actually the @ just supress's error messages. And even then, the or die part would still get executed if the function error'd out. On Wed, 2003-06-18 at 10:51, Jay Blanchard wrote: [snip] ?php $myServer = 192.92.0.248; $myUser = repro; $myPass = repro; $myDB = repro; print

Re: [PHP] Calling c function from php

2003-06-18 Thread CPT John W. Holmes
Anyway, can any make a suggestion on how to connect to a c function from a php app? I have to connect to a sales tax calculation software. The function is being written for me but I have to figure how to call it - get the variable - and use it again in my php app. I've been told there's

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Jay Blanchard
[snip] Actually the @ just supress's error messages. And even then, the or die part would still get executed if the function error'd out. [/snip] Well, if that is the case then his script is 'hanging up' during the mssql_connect phase. Add this line to the top of the script

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X Windows Machine

2003-06-18 Thread Gary Ogilvie
If I take out the @ sign I get the following error: Fatal error: Call to undefined function: mssql_connect() in F:\Program Files\Apache Group\Apache2\htdocs\REPRO\reprotables.php on line 10 Any more ideas? =) -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 18

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Adam Voigt
Uncomment the extension in your php.ini, usually in: c:\winnt\php.ini On Wed, 2003-06-18 at 10:57, Gary Ogilvie wrote: If I take out the @ sign I get the following error: Fatal error: Call to undefined function: mssql_connect() in F:\Program Files\Apache

Re: [PHP] Calling c function from php

2003-06-18 Thread Terje Torkelsen
if you want to integrate the c/c++ codes in php you can use the build_skel that follows php to do this. write: ./build_skel --extname=calculate --proto=/path/to/calculate.proto --assign-params where extname is the extension name and proto is a file containing the prototypes of the functions

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Gary Ogilvie
I have tried it on a different machine and it is working... so maybe its something to do with the setup of my computer? -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 15:59 To: [EMAIL PROTECTED] Cc: Gary Ogilvie; [EMAIL PROTECTED] Subject: RE: [PHP]

[PHP] Help with my code

2003-06-18 Thread Mark Clarkstone
why won't this write? ? require (config.php); if ($action) { If ($name==) { echo Form Error No Name; echo $errorbk; } else if ($email==) { echo Form Erorr No e-mail; echo $errorbk; } else if ($input==) { echo Form Error No Comment found; echo $errorbk; } else if ($wb==1) { mail($webemail,

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Jay Blanchard
[snip] I have tried it on a different machine and it is working... so maybe its something to do with the setup of my computer? [/snip] Check your php.ini as Adam suggested...I strongly suspect that the ;extension=php_mssql.dll line is still commented out. Jay -- PHP General Mailing List

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Gary Ogilvie
-Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:14 To: Gary Ogilvie; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine [snip] I have tried it on a different machine and it is

RE: [PHP] Help with my code

2003-06-18 Thread Edward Peloke
what is it not doing? I see you are referencing the variables directly, is register globals 'on'? Are you getting errors? -Original Message- From: Mark Clarkstone [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: [PHP] Help with my code

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Gary Ogilvie
How do I comment out a line in an ini file... -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:14 To: Gary Ogilvie; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine [snip] I have

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.XWindowsMachine

2003-06-18 Thread Adam Voigt
Take the semicolon off the start of the line to uncomment it. On Wed, 2003-06-18 at 11:18, Gary Ogilvie wrote: How do I comment out a line in an ini file... -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:14 To: Gary Ogilvie; [EMAIL

RE: [PHP] Help with my code

2003-06-18 Thread James E Hicks III
What is the value of $subject? fwrite() expects the third value passed to it to be the number of bytes to write. James -Original Message- From: Mark Clarkstone [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: [PHP] Help with my code

[PHP] Re: Help with my code

2003-06-18 Thread Terje Torkelsen
To echo multiple lines you have to write echo END html headtitle ... .. END; and in the beginning you have if( $action ) { if... elseif .. elseif.. if( $action ) { = why this? you have already checked if $action is true earlier... } } (nb! posting the what the error is

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.XWindowsMachine

2003-06-18 Thread Gary Ogilvie
Now I get an error message when going to load the page: Unknown(): Unable to load dynamic library './php_mssql.dll' - The specified module could not be found. -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:29 To: Gary Ogilvie Cc: 'Jay Blanchard';

RE: [PHP] Connecting to MSSQL Using PHP on Apache2.X.XWindowsMachine

2003-06-18 Thread Adam Voigt
Copy all the dll's in the dll folder, which is inside the PHP folder, to c:\winnt\system32, as well as the php_mssql.dll out of the extensions folder, to the same path. Then change the line in the php.ini that says extension_path to: c:\winnt\system32. On Wed, 2003-06-18 at 11:23, Gary Ogilvie

RE: [PHP] Connecting to MSSQL Using PHP on Apache2.X.XWindowsMachine

2003-06-18 Thread Gary Ogilvie
It appears don't have a extension_path line in my ini file -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:35 To: Gary Ogilvie Cc: 'Jay Blanchard'; [EMAIL PROTECTED] Subject: RE: [PHP] Connecting to MSSQL Using PHP on Apache2.X.XWindowsMachine Copy

Re: [PHP] Help with my code

2003-06-18 Thread Mark Clarkstone
Ok thanks everyone I found out the problem James E Hicks III [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is the value of $subject? fwrite() expects the third value passed to it to be the number of bytes to write. James -Original Message- From: Mark Clarkstone

RE: [PHP] Connecting to MSSQL Using PHP on Apache2.X.XWindowsMachine

2003-06-18 Thread Jay Blanchard
[snip] It appears don't have a extension_path line in my ini file [/snip] it may say extension_dir Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] My Problem

2003-06-18 Thread Gary Ogilvie
Don't worry all - its all been fixed now - thanks for the help :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] My Problem

2003-06-18 Thread Gary Ogilvie
After changing the dir to f:\php\exstensions all was ok =) -Original Message- From: Gary Ogilvie [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:40 To: 'Terje Torkelsen'; [EMAIL PROTECTED] Subject: [PHP] My Problem Don't worry all - its all been fixed now - thanks for the help :) --

RE: [PHP] My Problem

2003-06-18 Thread Jay Blanchard
[snip] Don't worry all - its all been fixed now - thanks for the help :) [/snip] :7) Hey Gary, can you do us a favor? When something gets cleaned up like this change the title of the thread to add SOLVED to it, such as this RE: [PHP] Connecting to MSSQL Using PHP on Apache2.X.XWindowsMachine

RE: [PHP] Software Testing and Internationalization - Free book by LISA/Lemoine International

2003-06-18 Thread Alex Lam
LISA, in collaboration with Lemoine International has made Software Testing and Internationalization by Galileo Computing freely available for download. [snip] To download a copy, please visit http://www.lisa.org/interact/2003/swtestregister.html How about a privacy statement on the page

Re: [PHP] Re: Help with my code

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 08:23, Terje Torkelsen wrote: To echo multiple lines you have to write echo END html headtitle ... .. END; No offense, but this is completely false. Double-quotes will work just fine. -- Torben Wilson [EMAIL PROTECTED]

[PHP] print all variables

2003-06-18 Thread Matt Palermo
Could anyone tell me how to print all the variables and values from a submitted form, so that I can check them? Thanks, Matt

Re: [PHP] Software Testing and Internationalization - Free book by LISA/Lemoine International

2003-06-18 Thread CPT John W. Holmes
LISA, in collaboration with Lemoine International has made Software Testing and Internationalization by Galileo Computing freely available for download. [snip] To download a copy, please visit http://www.lisa.org/interact/2003/swtestregister.html How about a privacy statement on

Re: [PHP] print all variables

2003-06-18 Thread Adam Voigt
print_r($_POST) OR print_r($_GET) On Wed, 2003-06-18 at 11:51, Matt Palermo wrote: Could anyone tell me how to print all the variables and values from a submitted form, so that I can check them? Thanks, Matt -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The

[PHP] Re: print all variables

2003-06-18 Thread Skex
Depending on Form Method (example uses POST METHOD) echo PRE; print_r($HTTP_POST_VARS); echo /PRE; Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Could anyone tell me how to print all the variables and values from a submitted form, so that I can check them? Thanks,

[PHP] Re: array_shift

2003-06-18 Thread Diana Castillo
never mind I found the answer, use key(arrayname) to get the key and next(arrayname) to move to next element without reseting the keys. Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] how can I do an array shift without reseting the keys? how can I get the key of the

Re: [PHP] Re: Help with my code

2003-06-18 Thread Terje Torkelsen
hehe.. know, i seem to write it a little fast.. it a _long_ time since ive use this notation.. :) im gonna check it to be sure next time.. On Wed, 18 Jun 2003 17:45:26 +0200, Lars Torben Wilson wrote (in message [EMAIL PROTECTED]): Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution

Re: [PHP] print all variables

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 08:51, Matt Palermo wrote: Could anyone tell me how to print all the variables and values from a submitted form, so that I can check them? Thanks, Matt print_r($_REQUEST); ...or, depending on the method your form is using, one of: print_r($_POST); // or

[PHP] Random CGI Errors

2003-06-18 Thread Adam Voigt
We have a server running Windows 2000 with IIS, and PHP 4.2.3 and we are having a fairly continuous stream of the standard CGI Application Misbehaved errors (like every 5 pages). There doesn't seem to be any pattern in relation to code or particular page. Upgrading versions of PHP would be my

RE: [PHP] Random CGI Errors

2003-06-18 Thread Jay Blanchard
[snip] We have a server running Windows 2000 with IIS, and PHP 4.2.3 and we are having a fairly continuous stream of the standard CGI Application Misbehaved errors (like every 5 pages). There doesn't seem to be any pattern in relation to code or particular page. Upgrading versions of PHP would be

RE: [PHP] Random CGI Errors

2003-06-18 Thread Adam Voigt
Affirmative. On Wed, 2003-06-18 at 12:53, Jay Blanchard wrote: [snip] We have a server running Windows 2000 with IIS, and PHP 4.2.3 and we are having a fairly continuous stream of the standard CGI Application Misbehaved errors (like every 5 pages). There doesn't seem to be any pattern in

[PHP] mySQL: Rows and columns

2003-06-18 Thread zavaboy
I know this is more of a mySQL question but, how do I delete and add rows and columns? -- - Zavaboy [EMAIL PROTECTED] www.zavaboy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mySQL: Rows and columns

2003-06-18 Thread Aaron Gould
A search on mysql.com reveals. http://www.mysql.com/search/index.php?q=DELETEfrom=%2Fdocumentation%2Findex .html -- Aaron Gould Web Developer Parts Canada -Original Message- From: zavaboy [mailto:[EMAIL PROTECTED] Sent: June 18, 2003 1:03 PM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] mySQL: Rows and columns

2003-06-18 Thread bbonkosk
http://www.mysql.com/doc/en/ALTER_TABLE.html I know this is more of a mySQL question but, how do I delete and add rows and columns? -- - Zavaboy [EMAIL PROTECTED] www.zavaboy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mySQL: Rows and columns

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 10:03, zavaboy wrote: I know this is more of a mySQL question but, how do I delete and add rows and columns? -- - Zavaboy [EMAIL PROTECTED] www.zavaboy.com Using the mysql_*() function and the SQL language. The mysql_*() functions are documented here:

[PHP] working with forms

2003-06-18 Thread Matt Palermo
I have a forms page that a user will fill out. When it is submitted, it checks to see if any of the field entries entries are empty, and if so, it has a die() statement that has a link (javascript:history.back()) which sends the user back to the form page. However, when they go back to the

[PHP] Need someone with a fresh mind on tacking this array problem...

2003-06-18 Thread Scott Fletcher
Hi, need someone with a fresh mind on tacking this problem. I haven't gotten this to work right for 1 1/2 days now. In the sample script, you will noticed that the php variable, '$ODBC_RESULT' represent a year in 4 digit, like 2003, 2002, 2001, 2000, etc... When I grab the data from the

[PHP] Re: print all variables

2003-06-18 Thread Scott Fletcher
If you want to see any data beside the form, then you can do this... print_r($GLOBALS); Only if you want to see data beside the submitted form. Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Could anyone tell me how to print all the variables and values from a submitted

Re: [PHP] Need someone with a fresh mind on tacking this arrayproblem...

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 10:32, Scott Fletcher wrote: [snip] if ($ArrayCheck == 0) { $ArrayDataCount['$ODBC_RESULT'] = 0; What happens when you remove the single-quotes? You're currently defining only one array value, with the key being the literal string

  1   2   >