[PHP] Re: Installing Php5 over Existing Php4.3.6

2004-07-24 Thread Francis Chang
No, I do not want to keep the old distribution. What is the proper way to uninstall the existing installation? Do I just do a 'make distclean'? Would that clean up all the libraries and the program files of the existing installation? Thanks again. Francis Jason Barnett [EMAIL PROTECTED]

Re: [PHP] How to get all links from a webpage?

2004-07-24 Thread raditha dissanayake
Wudi wrote: How can I get all links from a webpage? You need to parse the HTML of the web page first there may be several classes already available taht does it for you. The best I have seen though is not in PHP but in perl. -- Raditha Dissanayake.

Re: [PHP] How to get all links from a webpage?

2004-07-24 Thread Wudi
Hm, Perl is OK. Could you send that program to me? I have searched the class in phpclasses.org, but not found. The classes I searched only can replace the link, can't get links. On Sat, 24 Jul 2004 12:36:25 +0600 raditha dissanayake [EMAIL PROTECTED] wrote: Wudi wrote: How can I get all

[PHP] Re: using the mssql functions on a linux server

2004-07-24 Thread Chris Martin
Skippy wrote: On Mon, 12 Jul 2004 14:54:15 -0400 [EMAIL PROTECTED] (Edward Peloke) wrote: Is this the only way around it? Can I get to mssql without using the mssql extension? I don't think so. Plus, the entire setup is a bit complicated and you need FreeTDS as well as UnixODBC installed, plus

[PHP] Re: JavaScript in PHP or PHP in JavaScript

2004-07-24 Thread Torsten Roehr
Robb Kerr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Let me preface this by saying that I don't know JavaScript. I've got a page that is built by a long complicated JavaScript that I was able to hack just enough to function the way I wanted. There are some lines of code -- those

[PHP] :)

2004-07-24 Thread thies
Argh, i don't like the plaintext :) archive password: 74455 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] which user is a script executing as?

2004-07-24 Thread Peter Risdon
Matt M. wrote: How do I determine with which user's permissions PHP scripts are executing? I am experimenting with suEXEC and running PHPs as CGIs; I need to know with which user's permissions PHP scripts are executing. I've tried using getmyuid() and get_current_user(), but these only report the

Re: [PHP] Disk serial number

2004-07-24 Thread Rosen
Thanks, But how I can parse this output ? Burhan Khalid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Rosen wrote: Yes, on Linux there is a command to get this info, but on windows I think there'n no thath command. Is there a module for PHP to do this ? c:\dir c:\test.txt

Re: [PHP] How to get all links from a webpage?

2004-07-24 Thread raditha dissanayake
Wudi wrote: Hm, Perl is OK. Could you send that program to me? I have searched the class in phpclasses.org, but not found. The classes I searched only can replace the link, can't get links. I am refering to the perl html parser module available for download at CPAN. -- Raditha Dissanayake.

[PHP] If...Or...Else

2004-07-24 Thread Robb Kerr
From time to time I need an If statement that includes an Or condition... ?php if ((condition1 == TRUE) OR (condition2 == TRUE)) { do something; } esle { do something else; } ? What's the correct syntax for the If line? Thanx -- Robb Kerr Digital IGUANA Helping Digital Artists

[PHP] Re: PHP editor that doesn't require installation

2004-07-24 Thread rush
John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know of a good windows PHP editor that I can run from a USB flash drive without installing it? A good stand-alone editor. I know how to use Vi, so I'll even take a copy of that (so long as it's got syntax

Re: [PHP] If...Or...Else

2004-07-24 Thread Marcus Strube
?php if ((condition1 == TRUE) OR (condition2 == TRUE)) { do something; } esle { do something else; } ? What's the correct syntax for the If line? if(true == condition1 || true == condition2) { echo Hello World; } else { echo Best Regards; } -- PHP General

[PHP] Re: If...Or...Else

2004-07-24 Thread Tularis
if(a OR b) { do something } else { do something else } or if(a || b) { do something } else { do something else } is enough :) Robb Kerr wrote: From time to time I need an If statement that includes an Or condition... ?php if ((condition1 == TRUE) OR (condition2 == TRUE)) { do something;

[PHP] editor for remote files using ssh

2004-07-24 Thread Peter Risdon
I have been using emacs/tramp for editing files on remote machines, but I find it can be flaky - no doubt I am doing something wrong. Can anyone suggest a good programmers' text editor that at least has syntax highlighting and can use ssh for accessing files directly on remote machines? I need

Re: [PHP] editor for remote files using ssh

2004-07-24 Thread Miroslav Hudak (php/ml)
Vi or ViM :) m. Peter Risdon wrote: I have been using emacs/tramp for editing files on remote machines, but I find it can be flaky - no doubt I am doing something wrong. Can anyone suggest a good programmers' text editor that at least has syntax highlighting and can use ssh for accessing files

Re: [PHP] PHP5, XPath and count()

2004-07-24 Thread Victor Boivie
Christian Stocker wrote: var_dump($xpath-query(count(/catalog/cd)-item(0)); this doesn't work yet in DOM. The returned value has to be a nodeset. Will be fixed some day ;) Thanks, both Jason and Christian I found something else that I think is strange. $dom = new DOMDocument(); $root =

[PHP] Nested If...Else...

2004-07-24 Thread Robb Kerr
What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) { $vBkgrndImage = Bkgrnd-Body-Incorrect.jpg; } else { $vBkgrndImage = Bkgrnd-Body-Correct.jpg; } } Thanx -- Robb

Re: [PHP] Nested If...Else...

2004-07-24 Thread Scot L. Harris
On Sat, 2004-07-24 at 12:05, Robb Kerr wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) { $vBkgrndImage = Bkgrnd-Body-Incorrect.jpg; } else {

Re: [PHP] Nested If...Else...

2004-07-24 Thread Robb Kerr
On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote: On Sat, 2004-07-24 at 12:05, Robb Kerr wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) {

Re: [PHP] Nested If...Else...

2004-07-24 Thread Marek Kilimajer
Robb Kerr wrote: On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote: On Sat, 2004-07-24 at 12:05, Robb Kerr wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) {

Re: [PHP] Nested If...Else...

2004-07-24 Thread Robb Kerr
On Sat, 24 Jul 2004 18:18:23 +0200, Marek Kilimajer wrote: Robb Kerr wrote: On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote: On Sat, 2004-07-24 at 12:05, Robb Kerr wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if

Re: [PHP] Nested If...Else...

2004-07-24 Thread Robb Kerr
On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote: On Sat, 2004-07-24 at 12:05, Robb Kerr wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) {

Re: [PHP] Nested If...Else...

2004-07-24 Thread Jason Davidson
print out all the values of the vars your comparing often youll find one of them is not what your expecting Jason On Sat, 24 Jul 2004 11:05:06 -0500, Robb Kerr [EMAIL PROTECTED] wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if

Re: [PHP] Nested If...Else...

2004-07-24 Thread Matthew Sims
What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) { $vBkgrndImage = Bkgrnd-Body-Incorrect.jpg; } else { $vBkgrndImage = Bkgrnd-Body-Correct.jpg; } } Thanx

Re: [PHP] Nested If...Else...

2004-07-24 Thread Matthew Sims
print out all the values of the vars your comparing often youll find one of them is not what your expecting Jason On Sat, 24 Jul 2004 11:05:06 -0500, Robb Kerr [EMAIL PROTECTED] wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) {

Re: [PHP] Nested If...Else...

2004-07-24 Thread Robb Kerr
On Sat, 24 Jul 2004 09:47:52 -0700 (PDT), Matthew Sims wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) { $vBkgrndImage = Bkgrnd-Body-Incorrect.jpg; } else {

Re: [PHP] Nested If...Else...

2004-07-24 Thread Stan F
Try this: echo pre; print_r( variable_you_wanna_track ); echo /pre; The output will be easy-readable. Or try var_dump(). This helps maintaining scripts in more pleasant way. - Original Message - From: Robb Kerr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 24, 2004 8:49

Re: [PHP] Re: If...Or...Else

2004-07-24 Thread Stan F
Operations OR and || have different execution priorities. I'd prefer || as it's more important so not so many parentheses needed to ensure the order of interpretation is exactly what u need. - Original Message - From: Tularis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July

Re: [PHP] Nested If...Else...

2004-07-24 Thread Robb Kerr
On Sat, 24 Jul 2004 12:09:41 -0400, Scot L. Harris wrote: On Sat, 2004-07-24 at 12:05, Robb Kerr wrote: What's wrong with this syntax. I just can't see my mistake. if ($vBkgrndImage == AnswerPage) { if ($vAnswerID_RS_PageContent != $row_RS_PageContent['CorrectAnswer']) {

Re: [PHP] Re: If...Or...Else

2004-07-24 Thread Jason Davidson
OR is also bitwise is it not? Jason On Sat, 24 Jul 2004 21:23:13 +0400, Stan F [EMAIL PROTECTED] wrote: Operations OR and || have different execution priorities. I'd prefer || as it's more important so not so many parentheses needed to ensure the order of interpretation is exactly what u

[PHP] Weeeeee! ;)))

2004-07-24 Thread richard
I don't bite, weah! ..btw, 10370 is a password for archive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: editor for remote files using ssh

2004-07-24 Thread Harlequin
I use HTML-Kit which highlights syntax for a number of languages, PHP included. I am unsure of its ability to connect using SSL but it's very customisable when creating a new remote folder and I use it to work on remote files all the time. It simply creates a connection if needed and saves the

[PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Harlequin
I've been working on a query to retrieve a user's data based on their UserID that is stored in a variable $_SESSION['logname'] which underneath I convert using: $UserID = $_SESSION['logname']; But when I execute a SELECT query: $CaptureDetails = SELECT * FROM RegisteredMembers WHERE UserID =

Re: [PHP] Re: Installing Php5 over Existing Php4.3.6

2004-07-24 Thread Curt Zirzow
* Thus wrote Francis Chang: What is the proper way to uninstall the existing installation? Do I just do a 'make distclean'? Would that clean up all the libraries and the program files of the existing installation? No, distclean only cleans up the temporary files in the source tree. If you

Re: [PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Marek Kilimajer
Harlequin wrote: I've been working on a query to retrieve a user's data based on their UserID that is stored in a variable $_SESSION['logname'] which underneath I convert using: $UserID = $_SESSION['logname']; But when I execute a SELECT query: $CaptureDetails = SELECT * FROM RegisteredMembers

Re: [PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Jason Davidson
whats in UserId var.. any spaces or nonword chars.. if so, quote it. Jason On Sat, 24 Jul 2004 19:49:04 +0100, Harlequin [EMAIL PROTECTED] wrote: I've been working on a query to retrieve a user's data based on their UserID that is stored in a variable $_SESSION['logname'] which underneath I

Re: [PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Jason Davidson
Sorry, let me clearify.. unless UserId is an integer, quote it !! jason On Sat, 24 Jul 2004 12:03:54 -0700, Jason Davidson [EMAIL PROTECTED] wrote: whats in UserId var.. any spaces or nonword chars.. if so, quote it. Jason On Sat, 24 Jul 2004 19:49:04 +0100, Harlequin [EMAIL

Re: [PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Philip Olson
Sorry, let me clearify.. unless UserId is an integer, quote it !! And quoting integers is not a problem, I even prefer it. IMHO we should tell people to quote all values so if someone forgets to do any sort of input validation (i.e. make sure it's actually an integer) there won't be a major

Re: [PHP] Re: PHP editor that doesn't require installation

2004-07-24 Thread John W. Holmes
rush wrote: John W. Holmes [EMAIL PROTECTED] wrote in message Does anyone know of a good windows PHP editor that I can run from a USB flash drive without installing it? scite, from the scintilla fame. TemplateTamer would also work fine if you just copy the whole directory Scite is perfect. You

Re: [PHP] Re: PHP editor that doesn't require installation

2004-07-24 Thread Curt Zirzow
* Thus wrote John W. Holmes: rush wrote: John W. Holmes [EMAIL PROTECTED] wrote in message Does anyone know of a good windows PHP editor that I can run from a USB flash drive without installing it? scite, from the scintilla fame. TemplateTamer would also work fine if you just copy the

Re: [PHP] Re: If...Or...Else

2004-07-24 Thread Curt Zirzow
* Thus wrote Jason Davidson: OR is also bitwise is it not? No, | is bitwise Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: PHP editor that doesn't require installation

2004-07-24 Thread rush
John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Scite is perfect. You rock. A single 364KB file with PHP source code highlighting, brace matching, (regex) search and replace and more. It's so perfect I won't even make fun of you for mentioning ... there is also code

Re: [PHP] Re: If...Or...Else

2004-07-24 Thread Jason Davidson
ah right.. :) Jason On Sat, 24 Jul 2004 19:50:17 +, Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Jason Davidson: OR is also bitwise is it not? No, | is bitwise Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No,

Re: [PHP] editor for remote files using ssh

2004-07-24 Thread Curt Zirzow
* Thus wrote Miroslav Hudak (php/ml): Vi or ViM :) I swear that topics always come in bunches together. vim++ Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List

Re: [PHP] Weeeeee! ;)))

2004-07-24 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED]: I don't bite, weah! ..btw, 10370 is a password for archive And these come in groups also... I wonder if there is a relation between the two :) Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing

Re: [PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Curt Zirzow
* Thus wrote Philip Olson: Sorry, let me clearify.. unless UserId is an integer, quote it !! And quoting integers is not a problem, I even prefer it. IMHO we should tell people to quote all values so if someone forgets to do any sort of One thing to note though, mysql/sqlite is the only

Re: [PHP] Weeeeee! ;)))

2004-07-24 Thread Comex
but there isn't any archive.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-24 Thread Marek Kilimajer
Ron King wrote: At 06:28 AM 7/23/2004, you wrote: You need php-cli rpm, it's not an extension, it's command line binary. And it won't hurt anything to have both cli and extension installed? -- Ron No -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread John W. Holmes
Philip Olson wrote: And quoting integers is not a problem, I even prefer it. IMHO we should tell people to quote all values so if someone forgets to do any sort of input validation (i.e. make sure it's actually an integer) there won't be a major problem otherwise problems (including SQL

[PHP] HTML Table display based upon field contents

2004-07-24 Thread Robb Kerr
I have a complicated table that needs to be altered depending upon the contents of a field in one of my recordsets. I've tried several approaches and need to know what you recommend. I've created three totally different tables and put the HTML code for each into a database. Then I used PHP to

Re: [PHP] Unexpected T_ENCAPSED...

2004-07-24 Thread Philip Olson
And quoting integers is not a problem, I even prefer it. IMHO we should tell people to quote all values so if someone forgets to do any sort of input validation (i.e. make sure it's actually an integer) there won't be a major problem otherwise problems (including SQL injection) may arise.

[PHP] Re: HTML Table display based upon field contents

2004-07-24 Thread Tularis
Robb Kerr wrote: I have a complicated table that needs to be altered depending upon the contents of a field in one of my recordsets. I've tried several approaches and need to know what you recommend. I've created three totally different tables and put the HTML code for each into a database. Then I

RE: [PHP] HTML Table display based upon field contents

2004-07-24 Thread Kevin
Hi Robb, I am a newbie so I wanted to ask a stupid question. In your code below if the first if statement is true it ends the php processing and then you reopen with a new ?php before the closing }. What would happen if you took out the ? before the first tr tag and the /php before the }. Would

Re: [PHP] PHP5, XPath and count()

2004-07-24 Thread Christian Stocker
On Sat, 24 Jul 2004 17:35:59 +0200, Victor Boivie [EMAIL PROTECTED] wrote: Christian Stocker wrote: var_dump($xpath-query(count(/catalog/cd)-item(0)); this doesn't work yet in DOM. The returned value has to be a nodeset. Will be fixed some day ;) Thanks, both Jason and Christian

Re: [PHP] Creation of MySQL Database Using PHP

2004-07-24 Thread Marek Kilimajer
Harlequin wrote: Hello. I have a friend who knows less than me about PHP and MySQL (which I know is hard to believe) but she needs a login facility for her site. I've passed over some script I use but she doesn't know how to create the database. I can write some commands that create the tables OK

RE: [PHP] Creation of MySQL Database Using PHP

2004-07-24 Thread Dennis Seavers
mysql_query ('CREATE DATABASE name_of_database'); [Original Message] From: Harlequin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 07/24/2004 3:08:47 PM Subject: [PHP] Creation of MySQL Database Using PHP Hello. I have a friend who knows less than me about PHP and MySQL (which I know

Re: [PHP] HTML Table display based upon field contents

2004-07-24 Thread Robb Kerr
On Sat, 24 Jul 2004 17:47:48 -0400, Kevin wrote: Hi Robb, I am a newbie so I wanted to ask a stupid question. In your code below if the first if statement is true it ends the php processing and then you reopen with a new ?php before the closing }. What would happen if you took out the ?

[PHP] Re: HTML Table display based upon field contents

2004-07-24 Thread Robb Kerr
On Sat, 24 Jul 2004 23:23:49 +0200, Tularis wrote: Robb Kerr wrote: I have a complicated table that needs to be altered depending upon the contents of a field in one of my recordsets. I've tried several approaches and need to know what you recommend. I've created three totally different

[PHP] Re: HTML Table display based upon field contents

2004-07-24 Thread Tularis
Robb Kerr wrote: On Sat, 24 Jul 2004 23:23:49 +0200, Tularis wrote: Robb Kerr wrote: I have a complicated table that needs to be altered depending upon the contents of a field in one of my recordsets. I've tried several approaches and need to know what you recommend. I've created three totally

Re: [PHP] Re: Trouble with Apache, PHP, pear

2004-07-24 Thread Ron King
Matthew (and Marek), Sounds like you've done everything correctly, just PHP wasn't installed as a CLI. Just to be sure, do a $ find / -name php Is it ok to have PHP installed as both CLI and as a module? It is perfectly okay to have both. I'm using both on a server I have. I installed the CLI

[PHP] exec works with some, but not all commands

2004-07-24 Thread Jonathan Villa
why would exec(touch /var/www/testfile.txt) work but not exec(/usr/bin/gpg --homedir /home/testuser/.gnupg blah blah blah) the dir used in homedir has mode 777 just for testing this is the actual command I'm trying to run... exec(/usr/bin/gpg --homedir /home/testdir/.gnupg --armor --output

Re: [PHP] exec works with some, but not all commands

2004-07-24 Thread Matthew Sims
why would exec(touch /var/www/testfile.txt) work but not exec(/usr/bin/gpg --homedir /home/testuser/.gnupg blah blah blah) the dir used in homedir has mode 777 just for testing this is the actual command I'm trying to run... exec(/usr/bin/gpg --homedir /home/testdir/.gnupg --armor

Re: [PHP] How to get all links from a webpage?

2004-07-24 Thread Jason Wong
On Saturday 24 July 2004 16:08, Wudi wrote: Hm, Perl is OK. Could you send that program to me? I have searched the class in phpclasses.org, but not found. The classes I searched only can replace the link, can't get links. Hmmm it needs to be able to *find* the links before it can replace them.

[PHP] Re: exec works with some, but not all commands

2004-07-24 Thread Chris Martin
Matthew Sims wrote: why would exec(touch /var/www/testfile.txt) work but not exec(/usr/bin/gpg --homedir /home/testuser/.gnupg blah blah blah) the dir used in homedir has mode 777 just for testing this is the actual command I'm trying to run... exec(/usr/bin/gpg --homedir /home/testdir/.gnupg

Re: [PHP] Disk serial number

2004-07-24 Thread Jason Wong
On Saturday 24 July 2004 19:15, Rosen wrote: Please do not top post. But how I can parse this output ? c:\dir c:\test.txt Volume in drive C is Primary Volume Serial Number is 003E-6CEA There are many ways to go about this, I'll outline one of them. First you need to grab the output

[PHP] Fwd: IMPORTANT: Please Verify Your Message

2004-07-24 Thread Mark
Am I the only one who gets annoyed at these? --- [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Date: Sat, 24 Jul 2004 04:22:16 -0400 To: [EMAIL PROTECTED] Subject: IMPORTANT: Please Verify Your Message From: [EMAIL PROTECTED], [EMAIL PROTECTED] - Verify Email

Re: [PHP] Fwd: IMPORTANT: Please Verify Your Message

2004-07-24 Thread Jason Wong
On Sunday 25 July 2004 09:42, Mark wrote: Am I the only one who gets annoyed at these? No you're not. Look in the past week's archives. [EMAIL PROTECTED], [EMAIL PROTECTED] is currently You've got the culprit here. Either lambast him publically (since he doesn't want to receive your private

RE: [PHP] Re: exec works with some, but not all commands

2004-07-24 Thread bruce
when running shell commands form php/web apps... it's a good idea to check the ownership/privs/permissions of both the exe being run, as well as any output/input files for the exe app. you should also check the web/apache/iis error/log files to determine if everything is correct... regards,

Re: [PHP] Fwd: IMPORTANT: Please Verify Your Message

2004-07-24 Thread John W. Holmes
Jason Wong wrote: On Sunday 25 July 2004 09:42, Mark wrote: [EMAIL PROTECTED], [EMAIL PROTECTED] is currently You've got the culprit here. Either lambast him publically (since he doesn't want to receive your private mail). Or do what this says: The thing is, though, none of these people have

Re: [PHP] Weeeeee! ;)))

2004-07-24 Thread Jason Barnett
Comex wrote: but there isn't any archive.. Let's see I shake my magic 8-ball and it says... PEAR? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Learning Regex

2004-07-24 Thread PHP Gen
Hi, Does anybody know of a good place to learn how to work with regex? Google has quite a few links for learn pattern matching or learn php regex but none that start you on baby steps. Any recommendations? Thnx, Mag = -- - The faulty interface lies between the chair and the keyboard.

[PHP] include_path ???

2004-07-24 Thread D_Angle
Hi. I am a bit confused about the include_path in php.ini, I am using PHP 5.0.0 on IIS ; ; Paths and Directories ; ; ; UNIX: /path1:/path2 ;include_path = .:/php/includes ; ; Windows: \path1;\path2 include_path = .;/php/includes When I run

Re: [PHP] Fwd: IMPORTANT: Please Verify Your Message

2004-07-24 Thread Jason Wong
On Sunday 25 July 2004 10:30, John W. Holmes wrote: The thing is, though, none of these people have actually signed up for this service as far as I can tell. Some previous posts imply that some people *did* use spamcease, my anti-spam measures protects me from seeing these Please Verify Your

[PHP] Re: include_path ???

2004-07-24 Thread Jason Barnett
When I run phpinfo() the include_path points to .;c:\php\PEAR but that is incorrect the correct path is c:\inetpub\php5\PEAR. Are you *certain* you're looking at the correct ini file? phpinfo() should show the settings currently in use for your server (assuming you're calling the phpinfo in a

[PHP] Re: Learning Regex

2004-07-24 Thread Jason Barnett
This helped me get started with Perl-compatible regular expressions: http://www.weitz.de/regex-coach/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to get all links from a webpage?

2004-07-24 Thread Wudi
This script can replace links: $text = ereg_replace([[:alpha:]]+://[^[:space:]]+[[:alnum:]/], a href=\\\0\\\0/a, $text); But it cannot get the links. On Sun, 25 Jul 2004 09:18:28 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Saturday 24 July 2004 16:08, Wudi wrote: Hm, Perl is OK. Could

[PHP] Re: include_path ???

2004-07-24 Thread D_Angle
This is taken right out of the download of PHP 5 zip file php-5.0.0-Win32.zip. Opening the php.ini-recommended it states the following configuration ; ; Paths and Directories ; ; ; Windows: \path1;\path2 ;include_path = .;c:\php\includes But

Re[2]: [PHP] Re: PHP editor that doesn't require installation

2004-07-24 Thread Tom Rogers
Hi, Sunday, July 25, 2004, 5:18:44 AM, you wrote: JWH Scite is perfect. You rock. A single 364KB file with PHP source code JWH highlighting, brace matching, (regex) search and replace and more. It's JWH so perfect I won't even make fun of you for mentioning TemplateTamer JWH again! ;) Thanks,