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] 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 re

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] 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 diffe

[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 correcte

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 construct > itself? Otherwise URLs are just part of the page's textual content... Very > difficult to parse that > Disseminating an tag isn't brain-meltingly difficult with a regex if > you put your mind to it... With or without quotes,

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

2006-05-16 Thread Robert Samuel White
in a page, 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 [ANS

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
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

2006-05-16 Thread Robert Samuel White
ow.status = '[EMAIL PROTECTED]'; return true;" ONMOUSEOUT="window.status = ''; return true;">[EMAIL PROTECTED]eNetwizard, Inc. Featured Websiteshttp://www.autospeedgraphics.com/default.rsw'; return true;" STYLE="cursor: pointer;&q

RE: [PHP] Regex Help for URL's

2006-05-16 Thread Robert Samuel White
meone here might have 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 Wh

[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: http(s)://x.y.z.domain.com/dir/

Re: [PHP] PHP/Content Management

2003-07-07 Thread Robert Samuel White
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

Re: [PHP] PHP/Content Management

2003-07-07 Thread Robert Samuel White
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" <

[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 included

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 of

Re: [PHP] testing for negative numbers

2003-02-06 Thread Robert Samuel White
xample: $myArray["id"] = -2; 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 simpl

Re: [PHP] testing for negative numbers

2003-02-06 Thread Robert Samuel White
} $Database->FreeResult($resultc); } Rasmus Lerdorf wrote: Please provide a complete test script. Are you perhaps not realizing that array indices along with all variables in PHP are case sensitive? $row["ID"] and $

[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

[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 searche

[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] request for help/advice (xml/php content management)

2002-12-04 Thread Robert Samuel White
languages. Please 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://ww

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

2002-12-03 Thread Robert Samuel White
languages. Please 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://ww

RE: [PHP] Session Management

2002-11-03 Thread Robert Samuel White
AM To: 'Robert 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" th

RE: [PHP] Session Management

2002-11-02 Thread Robert Samuel White
sion management as blindly as it is currently implemented. I 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

RE: [PHP] Session Management

2002-11-02 Thread Robert Samuel White
of what I want 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

[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 rea

[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 i

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

2002-10-25 Thread Robert Samuel White
Thank you for your response. First of all, I'm not sure if you are familiar, but I am working on a project called eNetwizard Content Management Server. More is available here: http://www.sourceforge.net/projects/enetwizard/ Content is stored as XML, but not in the usual manner. eNetwizard is a

[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: http://ww

[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 doesn

[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
etty much 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

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

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] 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 PROTE

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 individual

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 L