Re: [PHP] Free PHP/MySQL Web Hosting ?

2001-08-04 Thread B. van Ouwerkerk
>Hello ! >Is there any free PHP/MySQL Web Hosting without add ? ... or ... at least , >I could have the choice to choose where to place their banner on my pages >? Do a search on the archive.. I guess this is one of the most asked questions. Bye, B. -- PHP General Mailin

Re: [PHP] Spot the difference?

2001-08-06 Thread B. van Ouwerkerk
start.. Bye, B. -- PHP General 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] magazine-subscription

2001-08-06 Thread B. van Ouwerkerk
ay 50-100 subscribes but it does become a problem when handling large lists.. Bye, B. -- PHP General 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] Looking for Portal/Directory code

2001-08-06 Thread B. van Ouwerkerk
n Directory Project. freshmeat.net sourceforge.net I remember a few portals can be found on freshmeat.. if you don't like what you see just write your own.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] crypted source

2001-08-06 Thread B. van Ouwerkerk
www.zend.com IIRC it's called zend optimizer.. Bye, B. Who refuses to add a 10 lines signature to his messages >now the php source code is totally visible and modificable >on the web server side. >does anybody know if exists a way to protect >the source php fil

Re: [PHP] Form control

2001-08-06 Thread B. van Ouwerkerk
>Please help me or give me some idea !!! Few thoughts: - check the referer - check the length of the string - use regular expressions Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] IP Address

2001-08-07 Thread B. van Ouwerkerk
ost would help to get less traffic on this list. Bye, B. -- PHP General 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] large commercial websites that use php?

2001-08-08 Thread B. van Ouwerkerk
>I've seen some posts on this, but since this mailing >list keeps getting bigger- I wanted to put the >question out again: > >What large commercial websites use php? about two weeks ago there was a thread called "Example high-profile PHP sites" A few links were p

[PHP] PHP 4 released date

2001-08-08 Thread Deependra B. Tandukar
Greetings! Can anybody give me, PHP4 released date? Looking forward to hearing from you. Warm Regards, DT -- PHP General 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:

Re: [PHP] PHP Editor

2001-08-08 Thread B. van Ouwerkerk
>What tool do you recommend to compose PHP pages? > >I am traditionaly an ASP developer and I have always used Ultradev and >Interdev. Welcome to the club.. If you take a moment to search the archive.. this question has ben answered quite a few times in the last month. Bye,

Re: [PHP] PHP Editor

2001-08-08 Thread B. van Ouwerkerk
At 06:19 8-8-01 -0700, Richard Baskett wrote: >I would have had no clue that there was an archive, so it's good to know. >Thanks! It's on the same page where you subscribed to this list.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] MySQL: Select ALL

2001-08-09 Thread B. van Ouwerkerk
> but no luck. Take a look at one of the tutorials.. Many can be found on the links page you can click to on www.php.net This will help you to find the info you need and also answer the next question you're going to ask. Bye, B. -- PHP General Mailing List (http://www.php.

Re: [PHP] PHP ext

2001-08-09 Thread B. van Ouwerkerk
>Where in php.ini do you set it so that .html files will also run php? You don't. httpd.conf is the place to look. It says something about what Apache has to do with .php and .php3 .. so.. add .html Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] MySQL connection

2001-08-10 Thread B. van Ouwerkerk
at resource too. Remember.. you're most certainly not the first person who uses PHP to connect to MySQL.. most if not all issues you think you have found has been seen by others. Searching the archive and reading tutorials will keep you from burning bandwith and space for a non-issue. Have fu

Re: [PHP] Printing

2001-08-10 Thread B. van Ouwerkerk
ript (window.print()). That's going to be fun if you need to create say 200 reports.. :-) Lucky you.. a tool exists to pull data out of a MySQL database.. Do a search for.. report or reportgenerator or something like that on the mysql list archive. It's found here:http://lists.mysql.co

Re: [PHP] important linuxtoday article: Will Open Source Lose the Battle for the web?

2001-08-15 Thread B. van Ouwerkerk
;s endless and pretty useless. Might attract A LOT of traffic on this list. I don't intend to spend any more time on it. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

Re: [PHP] Virtual Servers (apache) and php

2001-08-19 Thread B. van Ouwerkerk
user under which apache is running.. or to another normal user.. Bye, B. -- PHP General 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] Oudoor database website - waypoints - please review

2001-08-19 Thread B. van Ouwerkerk
wo little remarks: - view your website with 800x600 - pictures with a size of 77kB are to big Bye, B. -- PHP General 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] IIS

2001-08-21 Thread B. van Ouwerkerk
>hi. >what is IIS? Micro$oft Internet Information Server. It's a webserver. IMHO a poor alternative for Apache. If you want to know more about IIS take a look at the M$ website (www.microsoft.com/iis) should tell you everything you ever want to know. Bye, B. WOW.. this sure

Re: [PHP] The future of PHP

2001-08-23 Thread B. van Ouwerkerk
atistics. I think PHP is great.. there is a place for everything.. even for Java :) Bye, B. -- PHP General 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] POST problem

2001-08-28 Thread B. van Ouwerkerk
>Hi . >You are years old. > >This action.php is supposed to print out values one >enters to the form fields. Right? > >So, my problem is that it doesn't. Instead, it prints >Hi.You are years old. Try: Have fun, B. -- PHP General Mailing List (http://ww

Re: [PHP] PHP and MySQL auth?

2001-08-28 Thread B. van Ouwerkerk
.. check if mysql is running (ps ax | grep mysql). If it isn't you can't connect to it. Bye, B. -- PHP General 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] Im back, oh and....

2001-08-29 Thread B. van Ouwerkerk
whole 14 so i can >have my first urine test!) So you're 14.. does you mom know you're here :-) Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administ

RE: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread B. van Ouwerkerk
use that one.. Given time NS6x will be a great browser. I happen to like NS but you're perfectly free to make your own choice.. Unless I'm not completely wrong here I don't think many PPL has choosen M$ IE because

Re: [PHP] Refreshing php.ini without restart...

2001-08-30 Thread B. van Ouwerkerk
refresh the changes I >make in php.ini without doing a reboot? I assume you're running PHP on a Linux box.. You should be able to restart apache.. even on NT you could stop and restart the service. Bye, B. /"\

Re: [PHP] 2 General MySQL Questions

2001-08-31 Thread B. van Ouwerkerk
.com has some good tutorials. Otherwise you could use a searchengine and type some words like: mysql tutorial Should help.. The book MySQL written by Paul DuBois is great.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: [PHP] The future of PHP or my 2 cents

2001-08-31 Thread B. van Ouwerkerk
ng everything about PHP.. and many many other things.. I've got some great ideas for cheap but very effective marketing.. but I'm running out of time now. Bye, B. /"\ \ / ASCII Ribbon Ca

RE: [PHP] The future of PHP

2001-09-05 Thread B. van Ouwerkerk
ked with one of my customers about using Linux instead of Novell or NT.. he said Linux is to big to be used in a small company.. I don't understand him and I even stopped trying to understand. Just my 0,02 Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] manage a mail archive

2001-09-08 Thread B. van Ouwerkerk
You can use MySQL. Take a look at the ezmlm homepage, and check the ezmlm mailinglist archive.. Pulling data out of a MySQL table is easy.. if you don't know how, just look at some tutorials (www.devshed.com) more links can be found at www.php.net Bye, B. At 20:28 8-9-01 +, cror

Re: [PHP] Re: manage a mail archive

2001-09-08 Thread B. van Ouwerkerk
together.. A friend told me he was going to put all messages in a MySQL database but I'm not sure if it's a default feature or his own coding. I suggest you go to the sources mentioned previous and browse a little. Bye, B. >How do I retrieve the messages from the list archive

Re: [PHP] Sterilize user input function

2001-09-08 Thread B. van Ouwerkerk
hink about what you want to allow and what you want to refuse. Bye, B. At 11:27 8-9-01 -0600, Kevin wrote: >I am looking for general a function to that would render user input >harmless. > >I would write my own but don't know what to strip from the input that could >make it

Re: [PHP] Sterilize user input function

2001-09-09 Thread B. van Ouwerkerk
certain requirement.. like US phone numbers should be something like 123-456-7890 So, anything else is NOT valid. You could also check the length of the string send. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] Re: new to php

2001-09-09 Thread B. van Ouwerkerk
fresh would do a better job.. Bye, B. -- PHP General 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] Site Layouts/Designs

2001-09-09 Thread B. van Ouwerkerk
e? Just found www.freewebtemplates.com and a few others.. I don't want to flame you but you could have found this on your own.. within 15 seconds and without sending a messages. Have fun, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP] new to php

2001-09-09 Thread B. van Ouwerkerk
tor to see the new entries in the table then I think a meta refresh consumes less resources. Even if you use cron your visitor doesn't get the updated info in his browser.. Bye, B. >- Original Message - >From: "Kostis Mentzelos" <[EMAIL PROTECTED]> >To:

Re: [PHP] Just had a cool idea!

2001-09-09 Thread B. van Ouwerkerk
y :-) (ouch, that sounds like flamebait) Bye, B. -- PHP General 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] Just had a cool idea!

2001-09-09 Thread B. van Ouwerkerk
the world.. I'll bet you're going to find plenty of them at www.hotscripts.com Bye, B. -- PHP General 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] Sending Broadcast Email - will a large loop cause a crash?

2001-09-09 Thread B. van Ouwerkerk
ng PHP.. Might be worthwile to check this.. also.. these packages would normally handle bounces. You could do the same but it would cost you to much time. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: [PHP] Just had a cool idea!

2001-09-09 Thread B. van Ouwerkerk
times to understand what you want.. Think I would do it with an if.. then loop. Just after the counter is raised one you check if it equals your BINGO value. And you shouldn't yell at people trying to help you. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] PHP Web Base Email

2001-09-09 Thread B. van Ouwerkerk
At 12:25 10-9-01 +0800, Sall Him wrote: >Oh... I am looking for something like hotmail, yahoo mail, but they are >not written by PHP, I want some ready to use web base email done by PHP http://www.squirrelmail.org/ Looks great.. Bye, B. -- PHP General Mailing List (http://www.php.ne

[PHP] Fwd: Your message to Miki awaits moderator approval

2001-09-09 Thread B. van Ouwerkerk
ARGH. I'm I the only person who gets these stupid messages?? Since when are PPL running mailman to collect mail from this or any other list?? I suppose someone installed and misconfigured mailman.. hope it stops soon. Bye, B. >Subject: Your message to Miki awaits moderator approv

Re: [PHP] New to PHP, just looking for resources is all =)

2001-09-10 Thread B. van Ouwerkerk
a search for books and you'll find much much more. Bye, B. -- PHP General 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]

Fwd: Re: [PHP] Just had a cool idea!

2001-09-11 Thread B. van Ouwerkerk
any further questions read: http://www.tuxedo.org/~esr/faqs/smart-questions.html Bye, B. > > Think I would do it with an if.. then loop. Just after the counter is > > raised one you check if it equals your BINGO value. > > > > And you shouldn't yell at people

Re: [PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread B. van Ouwerkerk
earch the online manual on your own :-) Bye, B. >Hi, > > I once had the Javascript codes to detect the browser type/version (but > unfortunately, I lost the codes), does anyone have the Javascipt code? or > can PHP do the same job (how?) -- PHP General Mailing List

Re: [PHP] Re: Mailing list

2001-09-11 Thread B. van Ouwerkerk
them win something, or just a question like "did you find this information usefull". It highly depends on the PPL who have subscribed. Remember to add a unique identifier to that link to prevent opions to be counted more then once. Bye, B. -- PHP General Mailing List (http://www.

Re: [PHP] Security

2001-09-12 Thread B. van Ouwerkerk
www.securityfocus.com www.securityportal.com (might be down while they reconstruct their website) And many others.. use your favorite search engine. Bye, B. At 09:50 12-9-01 +0100, Mat Marlow wrote: >Hi Folks, >Does anyone know of a good place I can go to find information about >

RE: [PHP] Re: Mailing list

2001-09-12 Thread B. van Ouwerkerk
where people are subscribing you might get less subscribers. Bye, B. -- PHP General 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] Mail function....

2001-09-13 Thread B. van Ouwerkerk
escribe what you tried and to include your code. Bye, B. -- PHP General 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] mySQL tutorials?

2001-09-17 Thread B. van Ouwerkerk
>Are there any tutorials that teach you from scratch for mySQL connections >with php and using php-myADMIN? www.php.net click on links. www.devshed.com is one of the best.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP] Upload not working...

2004-09-07 Thread Deependra b. Tandukar
I tried this form to upload a file. Untitled Document with the following code: and am getting the message "Warning: Unable to open '\"C:\\Documents and Settings\\Administrator\\Desktop\\photos\\IMAGE0099.JPG\"' for reading: No such file or directory in /var/www/html/ICIweb/php/upload.

Re: [PHP] Upload not working...

2004-09-08 Thread Deependra b. Tandukar
Yes, this is what is missed: enctype="multipart/form-data" Thanks ! DT At 11:20 AM 9/8/2004 +0600, raditha dissanayake wrote: Deependra b. Tandukar wrote: I tried this form to upload a file. ... This very code works in my home computer. I tried this with my local server at my office

[PHP] Create PHP form from MySQL table structure

2008-12-21 Thread R B MacGregor
Hi folks Anybody got any recommendations for a utility which would create a quick head start by creating the php/html code for a basic form using the field structure of a MySQL table ? Thanks for any suggestions. -- Ronnie MacGregor Scotland Ronnie at dBASEdeveloper dot co dot uk www.dBASEd

Re: [PHP] PHP 5 with Apache 2.0

2005-02-14 Thread Lars B. Jensen
I'm facing about 100k unique users a month running some 5 million pageviews with extensive load for the database - this backed on a single server with a Xeon processor and 2gb of memory. So from here, go for it mate -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premie

Re: [PHP] function to remove all \" from a variable

2005-02-15 Thread Lars B. Jensen
The manual to the rescue http://jp2.php.net/stripslashes -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com - Original Message - From: "Tim Burgan" <[EMAIL PROTECTE

Re: [PHP] php-help

2005-03-08 Thread Lars B. Jensen
The following should be pretty selfexplanatory * 0 * * * /usr/local/bin/php /usr/local/www/cron/sync.php -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com - Original Message -

Re: [PHP] php-help

2005-03-09 Thread Lars B. Jensen
The manual to the rescue http://jp2.php.net/stripslashes There is alot of good information in the manual, think it would benefit you alot going through some of it, especially the central chapters -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resourc

Re: [PHP] Re: ISO encoding of subject in mail?

2005-03-29 Thread Lars B. Jensen
with mbstring functions, as some is buggy for some languages (in my case Japanese) -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP logo is freaked in phpinfo();

2005-03-31 Thread Lars B. Jensen
Is someone playing games with me I have a rabbit photo which has taken over the php logo in my phpinfo(), I also saw a dog in a logo on a mirror for the php manual :) Its kinda cute, interested how its done. yeah, we hacked your server and changed the logo ... just for the fun of it -- Lars B

Re: [PHP] functions vs classes

2005-04-03 Thread Lars B. Jensen
many projects. It's precisely the same, if you include a file with your class or include a file with your functions, whats the difference ? none. -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.

Re: [PHP] Anybody getting these also?

2005-04-05 Thread Lars B. Jensen
yep -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com - Original Message - From: "Andy Pieters" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 06, 2005

Re: [PHP] Help with proper post method...

2005-04-05 Thread Lars B. Jensen
very quick and *very* dirty, put this in top of your file extract($_POST); and voila, you bypassed "registerglobals off" -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com

Re: [PHP] if question

2005-04-06 Thread Lars B. Jensen
> I need to test if a variable value is 3 or 6 or 9 or 12 or 15 or 18 ... goes if ($variable%3 == 0) #do something -- Lars B. Jensen, Internet Architect CareerCross Japan Japan's premier online career resource for english speaking professionals http://www.careercross.com

Re: [PHP] Locking in PHP (Question for PHP Gurus)

2005-04-06 Thread Lars B. Jensen
I would use a cronjob to make the entry rather than a user, why let the poor guy wait for you to create the content You may have 2 requests both trying to create the new cache entry, but that is much cleaner than having to deal with locking. Do a tempnam() to get a temp file to write to and the

[PHP] Shopping Carts

2006-07-08 Thread Michael B Allen
I need a (free) shopping cart. The simpler the better. This one is what I'm looking for: http://www.zend.com/codex.php?id=112&single=1 but it doesn't use current session handling, needs validation, etc. Any ideas? Thanks, Mike -- Michael B Allen PHP Extension for SSO w/

[PHP] List of Restricted Countries to Leave Out of Credit Card Form?

2006-07-11 Thread Michael B Allen
For my credit card form I provide the user with a list of countries. I suppose these are ISO country codes? For the US is there an official list of countries with which I'm not supposed to do business with? Will Authorize.Net catch those transactions? Thanks, Mike -- Michael B Alle

[PHP] Debugging Log

2006-07-12 Thread Michael B Allen
What is the standard method of logging debug info? Should I just fopen a file for append and write the message or is there a facility provided? Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Debugging Log

2006-07-12 Thread Michael B Allen
On Wed, 12 Jul 2006 19:13:53 +0100 Stut <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael B Allen wrote: > > What is the standard method of logging debug info? Should I just fopen > > a file for append and write the message o

Re: [PHP] Debugging Log

2006-07-12 Thread Michael B Allen
On Wed, 12 Jul 2006 21:13:31 +0100 Stut <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael B Allen wrote: > > On Wed, 12 Jul 2006 19:13:53 +0100 > > Stut <[EMAIL PROTECTED]> wrote: > >> Michael B Allen wrote:

Re: [PHP] Debugging Log

2006-07-12 Thread Michael B Allen
On Wed, 12 Jul 2006 22:44:23 +0100 Stut <[EMAIL PROTECTED]> wrote: > Michael B Allen wrote: > > Thanks for the tip dipshit. > > Maybe I'm in a sensitive mood, but that was uncalled for. Michael, meet > /dev/null, I hope you live happily ever after. Oh, no. What am I

[PHP] Separation between View and State (The Back Button)

2006-07-13 Thread Michael B Allen
rt contents I don't get to do much web programming so I'm wondering what the PHP crowd thinks of this method. Can anyone improve on this? Is it fatally flawed? How would you solve this problem in general? Thanks, Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authoriz

Re: [PHP] Separation between View and State (The Back Button)

2006-07-13 Thread Michael B Allen
e and takes them back to the > form page. Actually what would be even better is if there were a header that indicated the form data should NOT be reposted on back or reload. Anyone heard of such a thing? Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Different php.ini files for different apache processes on one server

2006-07-18 Thread Michael B Allen
On Tue, 18 Jul 2006 20:44:35 +0200 <[EMAIL PROTECTED]>(Karl Pflästerer) wrote: > Hi, > suppose you had several directories a, b and c where in each directory > you had an Apache http.conf file. For each directory Apache gets started > with the http.conf (and other conf files)

[PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-24 Thread Michael B Allen
spect. If so, can you post it? Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-24 Thread Michael B Allen
oice_date" => "Date", "invoice_amount" => "Amount", "invoice_transaction_id" => "Txn. ID", "invoice_approval_code" => "App. Code", "invoice_name" => "Name", "invoice_email"

[PHP] Return Values Copied? Copied if By Reference?

2006-07-26 Thread Michael B Allen
tion foo(&$arr) { $arr[] = "bar"; return $arr; // is this copied? } I'm working on some code that would be called to generate a cell in a possibly large table and therefore a small difference in performance may have a significant impact. Thanks, Mike -- Michael B Allen

Re: [PHP] PHP Frameworks - Opinion

2006-08-01 Thread Michael B Allen
he source for a few it should become apparent what techniques are superior to others. Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Greek Characters from MySQL to PHP to the Browser: ??????

2006-08-08 Thread Michael B Allen
ith MySQL and work your way down. Mike BTW: htmlentities has nothing to do with character conversions. -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem Loading Extension

2006-08-11 Thread Michael B Allen
ppears in the apache error log. Also, of course the .so needs to be in the right location and the php.ini needs the appropriate extension directive. Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHPSESSID used sporatically

2006-08-16 Thread Michael B Allen
ning? I'm using PHP 4. Thanks, Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPSESSID used sporatically

2006-08-16 Thread Michael B Allen
On Thu, 17 Aug 2006 14:26:17 +1000 Chris <[EMAIL PROTECTED]> wrote: > Michael B Allen wrote: > > On Thu, 17 Aug 2006 12:06:08 +1000 > > Chris <[EMAIL PROTECTED]> wrote: > > > >> Michael B Allen wrote: > >>> Searching through the logs and brow

Re: [PHP] PHPSESSID used sporatically

2006-08-17 Thread Michael B Allen
On Thu, 17 Aug 2006 12:06:08 +1000 Chris <[EMAIL PROTECTED]> wrote: > Michael B Allen wrote: > > Searching through the logs and browsing my site (see sig) I sometimes see > > PHPSESSID is used as opposed to cookies. I know it's not simply that the > > client doesn

Re: [PHP] active directory and PHP

2006-08-17 Thread Michael B Allen
it requires communication with the DC whereas Kerberos does not. And it's insecure because you have to cache the users "credentials" in the user's session. -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ On Thu, 17 Aug 2006 12:14:18 +0200 "Alain Roger&

Re: [PHP] active directory and PHP

2006-08-17 Thread Michael B Allen
ldap_bind because those credentials are passed in clear text so a sniffer could collect passwords. At least use ldap_sasl_bind or do a TLS connection. 2) It's slow. Kerberos does not require communication between the web server and AD. With LDAP you would need to communicate with AD at least on

Re: [PHP] Email with pregmatch

2006-08-27 Thread Michael B Allen
/", > $_POST['email']); This is what I use: eregi("[EMAIL PROTECTED],6}$", $email) Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with UTF

2006-08-28 Thread Michael B Allen
the META tag is for. I suspect it's for caching or when you open an HTML file from disk perhaps. Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] substr and UTF-8

2006-08-30 Thread Michael B Allen
UTF-8 character does not have bit 8 set whereas all preceeding bytes do. Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] substr and UTF-8

2006-08-30 Thread Michael B Allen
On Wed, 30 Aug 2006 10:08:36 -0400 Michael B Allen <[EMAIL PROTECTED]> wrote: > On Wed, 30 Aug 2006 18:34:20 +0700 > "Peter Lauri" <[EMAIL PROTECTED]> wrote: > > > Hi group, > > > > I want to limit the number of characters that are shown in a

Re: [PHP] substr and UTF-8

2006-08-30 Thread Michael B Allen
On Wed, 30 Aug 2006 21:46:18 +0700 "Peter Lauri" <[EMAIL PROTECTED]> wrote: > function is_utf8_start($b) { > return (($b & 0x80) == 0) || ($b & 0x40); > } > [/snip] > > :) I think I will go with the mb_substr function, it works for me :)

Re: [PHP] Filter MS Word Garbage

2006-09-12 Thread Michael B Allen
characters in there, > usually associated with Smart Quotes. If I take the content out of > the DB, throw it into BBEdit and use the convert to ASCII command > that solves the problem. Iterate of each character (byte) and use chr(b) to get the numeric value. If that value is less th

Re: [PHP] Odd PHP memory issue

2006-09-15 Thread Michael B Allen
ts. Then I would scale down your test. Create a db connection and close it printing memory usage along the way to make sure all memory is restored within the script execution. If that doesn't work there are memory references hanging around *somewhere*. Mike -- Michael B Allen PHP Active Directory S

Re: [PHP] how to build env to develop php extension

2006-09-18 Thread Michael B Allen
Thank you very much. I don't have a definitive answer for you but there's not much to the bare skeleton of an extension. Just copy one of the existing ones and start from that. That's what I did (although I didn't use Windows). Mike -- Michael B Allen PHP Active Directory SS

[PHP] Negative Look Ahead Regex - Code Mistake or Bug?

2008-08-17 Thread Cameron B. Prince
Hello, I¹ve run into a problem with a regex and need help determining if this is my mistake or a bug. The regex is for inserting a SID into every link in the buffer before it¹s flushed, but only when each link doesn¹t already have a SID. An example of the code is here: $buffer = preg_replace('/

Re: [PHP] Negative Look Ahead Regex - Code Mistake or Bug?

2008-08-17 Thread Cameron B. Prince
Hi Ash, > As far as I can tell, you have an error in your syntax. You're using a - > (hyphen) character in the first match, but Regex uses this to define a > range of characters. It seems that if you don't escape it, the whole > thing behaves a little strangely. For example, using your URL as the

Re: [PHP] Negative Look Ahead Regex - Code Mistake or Bug?

2008-08-18 Thread Cameron B. Prince
= > preg_replace('/"http\:\/\/www\.domain\.com([\/\w\.\-]*\??)(?!PHPSESSID\=2u0c > caffoh6jaeapkke35qpp87;?)/', > '"http://www.domain.com$1?PHPSESSID=t9gksvpdcuobsnqt98qloe6lg4;', $buffer); > > (not tested) > > > > Simcha Younger >

Re: [PHP] Re: Negative Look Ahead Regex - Code Mistake or Bug?

2008-08-18 Thread Cameron B. Prince
kslash > anything yourself, let preg_quote() do it. > > Cameron B. Prince wrote: >> Hello, >> >> I¹ve run into a problem with a regex and need help determining if this is my >> mistake or a bug. The regex is for inserting a SID into every link in the >> b

[PHP] Undefined Index Errors

2004-02-06 Thread Cameron B. Prince
Hey guys, Here's a chunk of code from the top of a multi-function page I converted from Perl to PHP: $userid = $_REQUEST['USERID'];# USERID = selected userid $dlist= $_REQUEST['DLIST']; # DLIST = indicates who to display $action = $_REQUEST['ACTION'];# ACTION = in

RE: [PHP] Undefined Index Errors

2004-02-06 Thread Cameron B. Prince
> 1. put @ in front of each variable, e.g. > $adminID = @$_ENV['HTTP_REMOTE_USER']; This worked very nicely... Thank you! > > Hey guys, > > > > Here's a chunk of code from the top of a multi-function page I converted > > from Perl to PHP: > > > > $userid = $_REQUEST['USERID'];#

[PHP] Zero Sized Reply

2004-02-09 Thread Deependra b. Tandukar
Dear all, The script was working perfectly, but all of the sudden since last week stopped working, gives Zero Sized Reply. The site is http://coremag.net/corex/feedback/feedback.htm Can anybody tell me what is the problem. Below is the page I get when submit the form: ERROR The requested URL

[PHP] creating a mailbot in php

2004-03-16 Thread Leonard B Burton
Greetings, I have been trying to come up with a script in PHP to take an email and do a little parsing and upload the data into a mysql database. However I have had a couple of glitches. Would someone be so nice to send me the code to just get it to do something (like update a counter or anyt

[PHP] MySQL Connect Problem

2004-03-17 Thread Cameron B. Prince
Hey guys, I've been developing my site on a dev server with MySQL locally installed. I've now moved the site to the production webserver and setup my databases on the production dbserver, which are two different machines. I have begin updating my connection variables and now I find I can't connec

<    2   3   4   5   6   7   8   9   >