RE: [PHP] Extensions Directory (PEAR/PECL)

2006-05-19 Thread Robert Samuel White
[SNIP] When I ran the command: pecl install zip-1.3.1 It intalled the zip.so file to: /usr/local/lib/php/extensions/no-debug-non-zts-20050922/zip.so Extensions are compiled with a given Zend/PHP API. The zip extension you installed was compiled against the API dated 2005-09-22. I

[PHP] Re: [Repost] Getting rid of Web page has expired (POSTDATA Error)

2006-05-18 Thread Robert Samuel White
You might want to modify your coding. The way I prevent this problem from ever happening is this: 1. The user completes information on the form. 2. The form is validated by PHP. 3. If there are errors, then the form is reshown with their values populated. 4. Once all errors are

[PHP] Re: PHP and mySQL getting smashed...

2006-05-18 Thread Robert Samuel White
Upgrade your MySQL distribution to the latest version (5+). Upgrade any shared MySQL libraries to the latest distribute. Recompile MySQL with mysqli support. http://php.net/mysqli And use that instead of the regular MySQL functions. That's what I did and it has made a huge

RE: [PHP] Re: [Repost] Getting rid of Web page has expired (POSTDATA Error)

2006-05-18 Thread Robert Samuel White
[SNIP] Now one thing bothers me: how do you redirect in step 4 if you have shown the form in step 3? How do you avoid a Cannot modify header information - headers already sent by ... error message? Nicolas Verhaeghe E-mail: [EMAIL PROTECTED] Phone: 602-490-8000 [/SNIP] Nicholas, As long

[PHP] Extensions Directory (PEAR/PECL)

2006-05-18 Thread Robert Samuel White
Please let me know if this would be more appropriate to post in a PEAR or PECL forum. Today, I've been trying to install some extensions - in particular, the GD library and the ZIP library. I've finally managed to get it all working, but there was one issue that I'd like to clear up for future

[PHP] Regex Help for URL's

2006-05-16 Thread Robert Samuel White
Can someone help me modify the following code? It was designed to search for all instances of [LEVEL#]...[/LEVEL#] I need a preg_match_all that will search for all of instances of an URL. It should be sophisticated enough to find something as complicated as this:

RE: [PHP] Regex Help for URL's

2006-05-16 Thread Robert Samuel White
the answer I need, and if so, I'd appreciate a response. If you don't know the answer, don't reply. Simple enough, don't you think? -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 4:28 PM To: Robert Samuel White Cc: php-general@lists.php.net Subject: Re

RE: [PHP] Regex Help for URL's

2006-05-16 Thread Robert Samuel White
-TABLE-ROW2-TD ONMOUSEOVER=this.className = 'RSW-TABLE-SEP2-TD'; window.status = 'Robert Samuel White'; return true; ONMOUSEOUT=this.className = 'RSW-TABLE-ROW2-TD'; window.status = ''; return true; ONCLICK=location.href = 'http://www.rswfire.com/default.rsw'; return true; STYLE=cursor: pointer;DIV

RE: [PHP] Regex Help for URL's [ANSWER]

2006-05-16 Thread Robert Samuel White
In case any one is looking for a solution to a similar problem as me, here is the answer. I used the code from my original post as my guiding light, and with some experimentation, I figured it out. To get any URL, regardless of where it is located, use this: preg_match_all(#\'http://(.*)\'#U,

RE: [PHP] Regex Help for URL's [ANSWER]

2006-05-16 Thread Robert Samuel White
All pages used by my content management system must be in a valid format. Old-school style pages are never created so the solution I have come up with is perfect for my needs. Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Regex Help for URL's [ANSWER]

2006-05-16 Thread Robert Samuel White
, then they'll code their pages to make use of this limitation. -Original Message- From: Chrome [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 8:24 PM To: 'Robert Samuel White'; php-general@lists.php.net Subject: RE: [PHP] Regex Help for URL's [ANSWER] -Original Message

RE: [PHP] Regex Help for URL's [ANSWER]

2006-05-16 Thread Robert Samuel White
If we are talking clickable links, why not focus on the a construct itself? Otherwise URLs are just part of the page's textual content... Very difficult to parse that Disseminating an a tag isn't brain-meltingly difficult with a regex if you put your mind to it... With or without quotes, be

[PHP] PHP/Content Management

2003-07-07 Thread Robert Samuel White
Just a quick message to let everyone know that after ten months I have finally released the first official open source version of eNetwizard Matrix Server, my sophisticated content management system and application server. All it needs is PHP, MySQL, and Apache. Full instructions are

Re: [PHP] PHP/Content Management

2003-07-07 Thread Robert Samuel White
not work with the Safari browser? it just shows up blank :( Rick When one door closes, another opens; but we often look so long and so regretfully upon the closed door that we do not see the one which has opened for us. - Alexander Graham Bell From: Robert Samuel White [EMAIL PROTECTED] Reply

Re: [PHP] PHP/Content Management

2003-07-07 Thread Robert Samuel White
the one which has opened for us. - Alexander Graham Bell From: Robert Samuel White [EMAIL PROTECTED] Reply-To: Robert Samuel White [EMAIL PROTECTED] Date: Mon, 07 Jul 2003 16:54:11 -0400 To: [EMAIL PROTECTED] Subject: [PHP] PHP/Content Management Just a quick message to let everyone know that after ten

[PHP] testing for negative numbers

2003-02-06 Thread Robert Samuel White
I realize this should be about the simplest thing in the world to do, but for this reason or that it's not working... I'm using PHP version 4.2.3 Whether I have a negative number in an array, for example: $myArray[ID] = -2 Or the number comes from the database, for example: $row[id] = -2 I

Re: [PHP] testing for negative numbers

2003-02-06 Thread Robert Samuel White
. -Rasmus On Thu, 6 Feb 2003, Robert Samuel White wrote: I realize this should be about the simplest thing in the world to do, but for this reason or that it's not working... I'm using PHP version 4.2.3 Whether I have a negative number in an array, for example: $myArray[ID] = -2 Or the number comes

Re: [PHP] testing for negative numbers

2003-02-06 Thread Robert Samuel White
; if ($myArray[id] 0) echo Negative; else echo Positive; Prints Negative as expected. -Rasmus On Thu, 6 Feb 2003, Robert Samuel White wrote: I realize this should be about the simplest thing in the world to do, but for this reason or that it's not working... I'm using PHP version 4.2.3

Re: [PHP] testing for negative numbers

2003-02-06 Thread Robert Samuel White
Okay, I'm an idiot. It *was* making it to the statement, but the row_id in the table matrix_structure_routes are actually positive numbers, so when it gets to that point I need to use the absolute value. The reason for using the negative and postive counterparts are to determine which type

[PHP] Re: Trapping PHP Errors

2003-01-13 Thread Robert Samuel White
Use the error_reporting function to define which errors you would like PHP to report to the error handler. If you want everything to be mailed to you, including warnings, use the E_ALL setting, though you may get a lot more warnings than you expect this way: error_reporting(E_ALL); function

[PHP] cprelogin cookie data

2003-01-13 Thread Robert Samuel White
Hello. I have set up my website to log all cookie data that it encounters. I have session management support built in without using cookies. And my website does not use any cookies independently whatsoever. For some reason, it logs a cookie with the following data: cprelogin = no I

[PHP] request for help/advice (xml/php content management)

2002-12-04 Thread Robert Samuel White
contact me if you can help. Thanks! If you have any questions, please feel free to ask them. Robert Samuel White eNetwizard Technical Services 284 Walnut Highland, Michigan  48357 +1 (248) 889-6363 www.rswfire.com www.enetwizard.net   -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] request for help/advice (xml content management)

2002-12-03 Thread Robert Samuel White
me if you can help. Thanks! If you have any questions, please feel free to ask them. Robert Samuel White eNetwizard Technical Services 284 Walnut Highland, Michigan  48357 +1 (248) 889-6363 www.rswfire.com www.enetwizard.net   -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Session Management

2002-11-03 Thread Robert Samuel White
Samuel White'; [EMAIL PROTECTED] Subject: RE: [PHP] Session Management These were all the same assumptions I made, thanks. I knew that it was more of an HTTP thing than a PHP thing when it came to the blind faith thing... I was just hoping that was something better out there. I'm not willing

RE: [PHP] Session Management

2002-11-02 Thread Robert Samuel White
to discuss. -Original Message- From: Jonathan Sharp [mailto:js-lists;sharpmedia.net] Sent: Saturday, November 02, 2002 3:16 AM To: Robert Samuel White Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Session Management first off: IP addresses are not the way to go about this AT ALL. Even

RE: [PHP] Session Management

2002-11-02 Thread Robert Samuel White
will find my own solution. -Original Message- From: John W. Holmes [mailto:holmes072000;charter.net] Sent: Saturday, November 02, 2002 7:42 AM To: 'Robert Samuel White'; [EMAIL PROTECTED] Subject: RE: [PHP] Session Management I've created a class for handling session management across

[PHP] Session Management

2002-11-01 Thread Robert Samuel White
I'm looking for some well thought out advice on session management. I've created a class for handling session management across an unlimited number of domains (without using cookies) however it has some inherent problems. In order to differentiate between users, it is using the IP Address. I

[PHP] Re: the xml functions [worth a read]

2002-10-25 Thread Robert Samuel White
to tackle this unique issue. -Samuel Robert Samuel White wrote: I am having a hard time understanding one of the features of the xml parser functions. If the string I am parsing includes nbsp; or something similar, it encounters an error. I've read the docs and I don't understand how to have

[PHP] re: mail form

2002-10-25 Thread Robert Samuel White
You need to use $_POST[numele] instead of $numele - that or edit your php.ini file. Now I noticed that I can't take any variable from another file. It's my programs fault or I have to modify something in Apache or PHP? -- Trasca Ion-Catalin Trasca Ion-Catalin [EMAIL PROTECTED] wrote in

[PHP] BAD FILE DESCRIPTOR

2002-10-02 Thread Robert Samuel White
I keep receiving the following error when I try to use fopen() to a remote server, regardless of which server I try to connect to apparently. I've verified that allow_url_fopen is set to true, so this should be functioning properly. I'm only trying to read the contents of the file so why

[PHP] (bad file descriptor) is a BUG

2002-10-02 Thread Robert Samuel White
I was able to work around this solution by using it on a different server with a different version of PHP. I decided to do this after reviewing the search results at Google.com This is a known bug that the PHP development team has chosen to ignore, as this article clearly outlines:

[PHP] PHP/XML (Validation)

2002-09-04 Thread Robert Samuel White
Hello, From reading the docs on XML functions for PHP, I understand that validation is not included. Does any one know where there is a package for PHP that is already developed or resources where I can learn how to do this myself? Thank you. -Samuel

[PHP] Introducing eNetwizard Server: An Open Source Project for Users of PHP

2002-08-14 Thread Robert Samuel White
a complete project, now it's just time for expanding it. For information about its release, you can sign up for the mailing list by following the links below. I look forward to hearing from you! Robert Samuel White [EMAIL PROTECTED] [EMAIL PROTECTED] eNetwizard Open Source Project Website: http

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Robert Samuel White
These forms are for offline distributionthe information in the form is collected from an online database... On Friday 07 December 2001 09:43 am, you wrote: Does anyone have any scripts or know a location to point me to where I can dynamically create Microsoft Word documents using PHP.

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Robert Samuel White
Thank you, Valentin. Your solution sounds like the one I am looking for! It's from manual do not remember it's chapter exactly: // starting word $word = new COM(word.application) or die(Unable to instanciate Word); print Loaded Word, version {$word-Version}\n; //bring it to front

[PHP] New Page Escape Sequence

2001-12-03 Thread Robert Samuel White
I wish to take some information out of a database and create a text file with the information, nicely formatted. Does any one know of an escape sequence that works as a new page indicator for printing??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: Re[2]: [PHP] Preventing a form from being submitted twice

2001-12-01 Thread Robert Samuel White
Well, that's kinda hard to do. You should start by looking at the session management functions of PHP. Then, track your sessions by creating a table in a database. Then, once you are doing that...you will have a session id associated with any individual using your website. Once that

RE: [PHP] PHP and XML

2001-11-29 Thread Robert Samuel White
XML By Example Second Edition, published by Que, written by Benoit Marchal, is the best resource out there in my opinion. This book was used in one of my college courses. -Original Message- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 7:13 PM To: PHP