[PHP] validate phone numbers

2001-06-20 Thread Richard Kurth
I am using this script to validate for phone numbers and it work just perfect for US phone numbers. But it rejects some European and Australian numbers what do I need to do to make it validate all phone numbers if (($WPHONE_NO) || ($wphone_no)) { $wphone_no = trim($wphone_no); if ($WPHONE_N

[PHP] List of included file names.

2001-06-20 Thread Tim McGuire
Hi, I searched the archives for this. For debugging purposes, I want to see a list of the included files on a page in HTML comments. PHP_SELF and HTTP_SERVER_VARS["SCRIPT FILENAME"] only returns the name + path of the file calling the included files. I want each included file to contribute i

Re: [PHP] Hurray!

2001-06-20 Thread Andreas D. Landmark
At 22.06.2001 08:45, you wrote: Wow, its so nice to have the lists back. I missed getting hundreds of mails a day. You need to post more on usenet or other spambot-roaming-grounds... That way they'll always keep your Maildir busy with the lovely "Free XXX" messages, hopefully you'll get atleast 5

Re: [PHP] apache and php ate up all my memory :-[

2001-06-20 Thread Andreas D. Landmark
At 19.06.2001 15:37, you wrote: >Hi all > >Probably some Apache/mysql/php-Admin gurus can give me a hint : >i just moved a website to it's own server ( my first one). >now apache had eaten up all physical and virtual memory >some httpd had allocated 45MB of RAM, memory ran out myqsl crashed...

Re: [PHP] Payflo Pro and credit cards

2001-06-20 Thread John Donagher
On Tue, 19 Jun 2001, Tobias Talltorp wrote: > I have a few questions regarding credit cards and the Payflo Pro function in > PHP. > Currently I only need to check that the creditcard is valid, no actual > payment is needed right now. > > 1) > How do I perform this check against Payflo Pro? > T

Re: [PHP] validate phone numbers

2001-06-20 Thread Steve Werby
"Richard Kurth" <[EMAIL PROTECTED]> wrote: > I am using this script to validate for phone numbers and it work just > perfect for US phone numbers. But it rejects some European and > Australian numbers what do I need to do to make it validate all phone > numbers > > if (($WPHONE_NO) || ($wphone_no)

[PHP] NONE

2001-06-20 Thread Ali Amirnezhad
Hi every body, I look for some plase to find good programs for APACHE web server on Windows, such as PHP for windows, Proxy Server, ASP Support with Apache, etc., Is there any one to help me? With best regaurds Ali Amirnezhad

[PHP] .htaccess logout sequence

2001-06-20 Thread Chris Aitken
Hi All. I have a query which has confused me a bit. I have a database setup where I use htaccess (using apache/php/mysql on a freebsd 3.4 box) to grant access, then it grabs the users info from the database, sets a cookie and pretty much lets the system know whos doing what on the db. Wh

[PHP] PHP based associate program software

2001-06-20 Thread Chuck Barnett
Does anyone know of a PHP/mysql based associate program software solution. Thanks, Chuck

Re: [PHP] Store PHP Code in MySQL?

2001-06-20 Thread Mukul Sabharwal
Hi, That'll work :-) http://www.php.net/manual/en/html/function.eval.html read that for more information. = * http://www.geocities.com/mimodit * __ Do You Yahoo!? Get persona

Re: [PHP] Re: Lists are back up

2001-06-20 Thread Andreas D. Landmark
At 19.06.2001 15:59, A. Skwar wrote: >So sprach Wico de Leeuw am Tue, Jun 19, 2001 at 01:09:49PM +0200: > > I don't know which ancient version you are using but version 5+ can filter > > on cc: > >Don't know about Eudora, but filters in webmailers (like gmx.de) cannot >filter on CC, nor can Lotus

[PHP] Sessions: auto appending session id to URLs

2001-06-20 Thread Miri
I have developed shopping carts and session related Web sites for my employer where we have control over the php environment. On our servers, we do not enable the 'trans-sid' option. I'm now trying to set up a session related site for a friend of mine on a Web host of her choosing. On this host, p

RE: [PHP] automatic page view

2001-06-20 Thread Jason Murray
> I am working on a admin page where companies log in to there own company > admin page. Can anyone help out with a script to have the username and > password directly linked to there own company admin page. That's a pretty vague and nebulous request - if you ask us something specific, we can pr

[PHP] unsubscribe php-general

2001-06-20 Thread Todd Diep
unsubscribe php-general

Re: [PHP] automatic page view

2001-06-20 Thread Developer
I would set your database up like so. tablecompany idcompany otherstuff tableusernamepass compidusernamepassword Make the ID in the tablecompany auto_increment then test the tableusernamepass compid against it when the user properly logs in. Exampe of the entries

[PHP] list back

2001-06-20 Thread Jacky
I miss the feeling of having over a hundred mails a day, glad it is back again. Jack[EMAIL PROTECTED]"Love your enemies, it will drive them nuts"

[PHP] perl2php - question

2001-06-20 Thread Michael Mehlmann
Hi to all of you again!! I have a perl-script for sending a mail (don't ask - I *need* it for sending mails!). In perl I use it like: -- open(MAIL, "|mail.pl"); print MAIL "From: \"xx\@xx.com\" \n". "To: \"xx\@xx.com\" \n". "Subject: TEST\n\n". "This is the body";#[EMAI

Re: [PHP] PHP Interact with DreamWaver

2001-06-20 Thread Tim Thorburn
Hi, I've got Dreamweaver UD 4, by default it supports ASP, JSP, and ColdFusion - as of yet Macromedia isn't overly interested in supporting PHP as there is no company backing it. There are however several PHP engine extensions in the works for PHP4 - they're on release 0.6.8 now I think, so i

RE: [PHP] inserting a variable into a variable

2001-06-20 Thread Peter Houchin - SunRentals Australia
why don't you do something like $var = $foo && $baa; ? -Original Message- From: Hasan Niyaz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 12:07 PM To: [EMAIL PROTECTED] Subject: [PHP] inserting a variable into a variable Hello all, I have come to a situati

Re: [PHP] inserting a variable into a variable

2001-06-20 Thread mailing_list
> I have come to a situation where i am having a variable inside another > variable. > for example. > > $rm_$cat_adt This works for me: \n"; echo '"abc_def_ghi" = '.$abc_def_ghi."\n"; ?> michi -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- GMX Tipp: Machen Sie I

[PHP] array_search

2001-06-20 Thread Steen Rabol
Hi How to figure out of a value is found using array_search ? eg: $myarray = array("val1","val2","val3"); if(array_search("val2",$myarray)) { print "Value found"; } the above will work, but... if(array_search("val1",$myarray)) { print "Value found"; } the above will not work as "val1

[PHP] RE: Lists are back up

2001-06-20 Thread Henrik Johansson
Title: RE: Lists are back up Hi Rasmus! Thank You for sharing that; I was beginning to fear that I had been permanetly banned. ;-) Good work! Best Regards, Henrik J. -- From:   Rasmus Lerdorf[SMTP:[EMAIL PROTECTED]] Sent:   den 18 juni 2001 21:15 To:     [EMAIL PROTECTED] Subject

[PHP] bad form...

2001-06-20 Thread motorpsychkill
hello everyone, is it 'bad form' (no pun intended) to have a form point to itself for processing, rather than forward the form variables to another page? Anybody have any input on this? I try to have 1 page that is the form and handles all the processing as well in order to keep the page count o

RE: [PHP] Turning Off Headers

2001-06-20 Thread Ray Hilton
If your using the standalone binary, I /think/ its something like php -q If it's the module in apache, you will have a problem as apache itself will add a certain degree of header information. -Original Message- From: Meles Meles [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 14:03 To: [E

RE: [PHP] HELP problems running PHP4 script in CRON

2001-06-20 Thread Ray Hilton
At the top, put: #!/path/to/php -q The reason itsgiving you those errors is because it doesn’t no what interpreter to use for the script. Of course, your going to have to have the standalone binary of php built, not the apache module. On a side note, does anyone know if you can get php to bui

RE: [PHP] SetCookie weirdness

2001-06-20 Thread Ray Hilton
This is actually a security feature of cookies, so that domains that don’t match your cookie cannot read personal details set by another site. Don't worry, its all in order ;) Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: Tomaz Kovacic [mailto:[EMAIL PROTECTE

[PHP] php auth user

2001-06-20 Thread Jacky
Hi people We all know we use PHP_AUTH_USER for login auhenthication, how about when we need to logout? Can we just simply link them to someplace else or do we need to anything special beside normal link? cheers Jack[EMAIL PROTECTED]"Love your enemies, it will drive them nuts"

RE: [PHP] Store PHP Code in MySQL?

2001-06-20 Thread Ray Hilton
Eval($var); That should execute the code I've never tried this to be honest, you will have to let me know your findings. I was thinking of doing something like it in perl, so that you could have a small daemon running, and it connects to a master server and updates its own code somehow...

RE: [PHP] inserting a variable into a variable

2001-06-20 Thread Ray Hilton
What on earth are you trying to do? :) I'm not sure what your getting at, do you mean defining a variable based on another variables name? Perhaps try using an array, and specifying $rm($cat) Sorry, im not too sure what you mean Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original M

[PHP] PHP conference?

2001-06-20 Thread Johan Holst Nielsen
Anyone know when and how you can sign up for the conference in Franfurt (5-7 Nov 2001)?   Can't find any information at there website, someone who can help me?! :o)   Regards   Johan

[PHP] safe_mode

2001-06-20 Thread Ker Ruben Ramos
If i had safe_mode = On; in php.ini, How do i set to have a certain directory that have safe_mode=Off ?

[PHP] parent and grandparent member functions

2001-06-20 Thread Lenar Lõhmus
Hello, I hit a wall. No offense, but this OO stuff in PHP is somehat weird, but skip to the problem. I have for example three classes: class a { function make() { // some code } } class b extends a { function make() { // some code parent::make(); } } cla

[PHP] Include & Speed

2001-06-20 Thread mfourny
Hi everybody, How much the include() can slow down the execution of the scripts; if I call one file let say for the db connection it's clearly ok but is it a limite of numbers of include in one script from where that slow the process? Marc -- /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*

Re: [PHP] php and flash 5 books?

2001-06-20 Thread mfourny
Hi Jay, Julie Melonie participate to the redaction of a book on FLASH 5; see infos on her website at http://www.thickbook.com you can also find there some tutorial on the subject. Marc Jay Paulson wrote: > > Anyone know of any good books that actually deal with php interfacing with > flash 5

[PHP] Saving to a file

2001-06-20 Thread Rosen
Hi, Sorry for the stupid question, but i don't have at me a PHP manual and I want to save some string to file from PHP. Can someone tell me how ( with what function to do this ) ? Thanks Rosen

[PHP] PHP conference?

2001-06-20 Thread Johan Holst Nielsen
Anyone know when and how you can sign up for the conference in Franfurt (5-7 Nov 2001)?   Can't find any information at there website, someone who can help me?! :o)   Regards   Johan

Re: [PHP] NONE

2001-06-20 Thread Pavel Kalian
www.google.com Pavel - Original Message - From: "Ali Amirnezhad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 5:47 AM Subject: [PHP] NONE > Hi every body, > I look for some plase to find good programs for APACHE web server on Windows, such as PHP for window

Re: [PHP] Problem with MySQL String limits?

2001-06-20 Thread David Robley
On Fri, 22 Jun 2001 19:52, Null wrote: > In a script I have an update query adding on to a LONGTEXT field in my > database. Strangely it will no longer work after seemingly random > string lengths. So far, one row stopped adding at 440 bytes and another > at 1049 bytes. > > mysql_query("UPDATE dod

[PHP] email templates and str_replace

2001-06-20 Thread Richard Kurth
I am trying to set up a template for an email program below you will see the test program the $mail_template is pulled from a database that is pre saved when it is saved the Placeholders are filled in using str_replace. that is what I want it to do. But it does not work. What am I missin

Re: [PHP] HTTP_POST_VARS not picking up checkboxes that areunchecked

2001-06-20 Thread Jens Nedal
The thing can do is as follows: When i want check such empty boxes, i call up the $HTTP_POST_VARS just like you. BUT what i do next ist that while listing those vars i insert an if statement like if (!strstr($key,checkbox_name)) {echo ($error);} So i do a stringmatch with the key and the name..

[PHP] mailform loop

2001-06-20 Thread Wilbert Enserink
Hi all, does anybody know if it is possible to loop through all the fields in a mailform. I want to perform the addslashes function and htmlspecialchars function to each entered value so i can put it in my db. Or should I make use of a standard good mailform script? and if so, does anyone kno

Re: [PHP] php and flash 5 books?

2001-06-20 Thread Jens Nedal
Could you tell me which book that ist? Maybe Title author and ISBN Number. I would be grateful for tha tinformation, thx! regards, Jens on 19.06.2001 17:30 Uhr, Jay Paulson at [EMAIL PROTECTED] wrote: > Anyone know of any good books that actually deal with php interfacing with > flash 5? I've

[PHP] Uploading a file into a database....ideas please.

2001-06-20 Thread Sam
Title: Uploading a file into a databaseideas please. Hi all, I have several text files that need to be uploaded each week to a mySQL db. At the moment I'm deleting the tables via telnet then exporting them via ODBC. I have tried uploading in the following ways. 1. Using the copy co

Re: [PHP] Solution to "headers already sent" error.

2001-06-20 Thread Jens Nedal
Hy there 8) This one is easy... The thing IS that when you use the header statement there is absolutly NO OUTPUt like echo(); inside the PHP-brackets allowed AND NO OUTPUT allowed outside the PHP-Brackets, before the first header statement appears! Not even simple linebreaks or anything! So wat

Re: [PHP] An idea

2001-06-20 Thread Mark Maggelet
it looks like you're getting your ereg and preg mixed up but try it like this: switch(1){ case ereg("\\.jpg$",$filename): echo "JPEG Image";break; case ereg("\\.gif$",$filename): echo "GIF Image";break; case ereg("\\.zip$",$filename): echo "Compressed File"; break; defa

[PHP] test

2001-06-20 Thread Wilbert Enserink
test - Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl [EMAIL PROTECTED] -

Re: [PHP] inserting a variable into a variable

2001-06-20 Thread Tom Carter
> I have come to a situation where i am having a variable inside another variable. > for example. > > $rm_$cat_adt PHP would read this as trying to prepend the variable $cat_adt to the variable $rm_ You seem to be trying to insert the variable $cat into the middle of a variable.. possible, but

Re: [PHP] Re: Lists are back up

2001-06-20 Thread Tom Carter
> Don't know about Eudora, but filters in webmailers (like gmx.de) cannot > filter on CC, nor can Lotus Notes 4.x filter reliably on CC. Those are both > products I use regularly. Lotus Notes I beg to differ on (and now we really are a long way from PHP discussion ;-) ).true the auto filter

Re: [PHP] bad form...

2001-06-20 Thread Tom Carter
generally. no its not.. IMHO its a good thing it can help make data validation easier, as in people can't "fake" variables by passing them in the URL to the processing script. It also helps keeps thing tidy... so providing that the processing isn't fantastically complex (in which case the comp

[PHP] logout

2001-06-20 Thread Jacky
Is there anyway I can do the logout that will completely get rid of all login detail without having user to close browser? Jack[EMAIL PROTECTED]"Love your enemies, it will drive them nuts"

[PHP] PHP Hosting in The UK

2001-06-20 Thread Martin Wright
When do you need it Jamie we are in the process of setting something up? It is actually focused on PHP business application software but we will be offering hosting as well. Martin > Just a quickieDoes anyone know of any cheap but reliable (i.e. they > know > at least something about PHP)

[PHP] PHPDOC 2.3.5 released

2001-06-20 Thread Christian Calloway
Hi everyone, I released a new version of PHPDoc, 2.3.5, and is a major update over previous releases. PHPDoc can now parse multiple class definitions in a single file. For anyone that doesnt know, PHPDoc is documenting tool, that converts PHP code to Java syntax, and then hands that result ove

[PHP] exec, backtics and co.

2001-06-20 Thread Paindavoine, Matthieu (MPAINDAV)
Hello, I have a problem with a php script which contains an exec (identical problem with backtics and similar operators) some programs are simply not executed for example, having a simple 'hello world' program in c++ will work fine, but having a program that writes 'hello world' to a file won't w

Re: [PHP] MySQL -> Quicken

2001-06-20 Thread Andreas D. Landmark
At 19.06.2001 19:04, you wrote: >I've got a client who wants to be able to export some stuff from a MySQL >database in a format that Quicken can import to print some checks. Is >this possible? From what i've seen, Quicken takes a proprietary format. >Any info would be appreciated. Thanks, I pres

[PHP] Re: PHP conference?

2001-06-20 Thread Björn Schotte
Hi Johan, * Johan Holst Nielsen wrote: >Anyone know when and how you can sign up for the conference in >Franfurt (5-7 Nov 2001)? After the program has chosen - we are currently in Call for Papers stage, so stay tuned :-) >Can't find any information at there website, someone who

[PHP] Attachments in POP

2001-06-20 Thread Ker Ruben Ramos
Why are attachments in POP cannot be viewed in latest IMP? but if I use IMAP, it works just fine.

[PHP] Search engine php/mysql

2001-06-20 Thread Mohamedou
Hello list,   I am coding a search engine that allow indexing and searching internet sites based on php/mysql.   My problm is:   How can i index a given site, I mean:   input: URL, like http://www.blabla.com/ Output: meta, body content, description that will be stored in a tables.   thnx in ad

Re: [PHP] Saving to a file

2001-06-20 Thread Jason Stechschulte
On Wed, Jun 20, 2001 at 11:04:21AM +0300, Rosen wrote: > Sorry for the stupid question, but i don't have at me a PHP manual > and I want to save some string to file from PHP. > > Can someone tell me how ( with what function to do this ) ? fopen http://www.php.net/manual/en/function.fopen.php f

Re: [PHP] email templates and str_replace

2001-06-20 Thread Zak Greant
Hi Richard, You are replacing the placeholders in $mail_template, but you are storing the results in $mail_content. > $mail_content = str_replace('##fullname##',$fullname,$mail_template); > $mail_content = str_replace('##email##',$email,$mail_template); This means that each time you call the st

RE: [PHP] bad form...

2001-06-20 Thread Grimes, Dean
>hello everyone, is it 'bad form' (no pun intended) to have a form point to >itself for processing, rather than forward the form variables to another >page? Anybody have any input on this? I try to have 1 page that is the >form and handles all the processing as well in order to keep the page cou

[PHP] LDAP trouble! Need help

2001-06-20 Thread Stig-Ørjan Smelror
Hi all! I have some problems while printing out values of attributes-types which have "Equality" and/or "Substrings" values. Example: $get_values = "".$info[0]["title"][0]; # OK. (prints out the value correct) $get_values = "".$info[0]["postalCode"][0]; # NOT OK. (prints out nothing) the "ti

[PHP] Need recommendation: good user management system (PHP/MySQL)

2001-06-20 Thread Andreas Skarin
I'm just starting to learn PHP and it's going to take a while before I can create a really good script to password protect a section of my site, with a good admin control center to manage my user's accounts. Therefore I'm asking for recommendations on a good retail script that can handle this for

Re: [PHP] bad form...

2001-06-20 Thread Steve Edberg
As far as I know, there are no ill effects from doing this; I do it all the time. In the FORM tag, I can then use something like action="$PHP_SELF" or action=$HTTP_SERVER_VARS['PHP_SELF'] (I have the top form on a PHP3-based setup). On the occasion when I need to redirect the u

[PHP] SMTP-access with PHP...

2001-06-20 Thread Magnus Hammar
Hello! Why do I get this error (Relaying denied ) from my SMTP-server and how do I make it work? 220 mail.server.com ESMTP Sendmail 8.9.3/8.9.3; Wed, 20 Jun 2001 15:09:06 +0200 (CEST) 250 mail.server.com Hello localhost [127.0.0.1], pleased to meet you 250 [EMAIL PRO

[PHP] unscribe

2001-06-20 Thread Tissandié
 

Re: [PHP] mailform loop

2001-06-20 Thread Christopher Ostmo
Wilbert Enserink pressed the little lettered thingies in this order... > Hi all, > > > does anybody know if it is possible to loop through all the fields in a > mailform. I want to perform the addslashes function and htmlspecialchars > function to each entered value so i can put it in my db.

[PHP] PHP & Java

2001-06-20 Thread Feroze Md. Arif
Hi, Can anyone point me to some tutorials on communicating with Java Applets using PHP? Hoping to hear from you. Best Regards Feroze === Jar Jar Binks will be Jedi!

Re: [PHP] email templates and str_replace

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
Mr. Kurth,       Try this.  Save the mail template to another file [like mailtemplate.txt] then open it for reading.   //read in template $template = file("mailtemplate.txt");   //setup variables $fullname="Richard Kurth";$email="[EMAIL PROTECTED]";$hostdomain="northwesthost.com";    $hostn

Re: [PHP] mailform loop

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
Well, if you named all the fields in the HTML as follows you could use an array_walk function to do that. Then you could array_walk through $mailForm and addslashes/htmlspecialchars to it. Chris "TunkeyMicket" Watford TunkeyMicket Productions www.tunkeymicket.c

[PHP] time

2001-06-20 Thread Jon Yaggie
quickly can some one tell me if time() return server or usersystem time?         Thank You, Jon Yaggiewww.design-monster.com And they were singing . . .  '100 little bugs in the code100 bugs in the codefix one bug, compile it again101 little bugs in the code 101 little bugs in the code . . .

RE: [PHP] Saving to a file

2001-06-20 Thread Warren Vail
Rosen, Depends on where you want to save the file. To get the manual http://www.php.net/docs.php. To Save to a file on the machine running the browser; make a form that outputs absolutely nothing except; header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment

Re: [PHP] bad form...

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
I personally use it all the time in my news script that powers my page, it is easier to use and it helps with security. Chris "TunkeyMicket" Watford TunkeyMicket Productions www.tunkeymicket.com - Original Message - From: "Tom Carter" <[EMAIL PROTECTED]>

Re: [PHP] logout

2001-06-20 Thread Rasmus Lerdorf
change the realm On Wed, 20 Jun 2001, Jacky wrote: > Is there anyway I can do the logout that will completely get rid of all login detail >without having user to close browser? > Jack > [EMAIL PROTECTED] > "Love your enemies, it will drive them nuts" >

Re: [PHP] logout

2001-06-20 Thread Thomas Deliduka
Title: Re: [PHP] logout On 6/20/2001 6:34 PM this was written: Is there anyway I can do the logout that will completely get rid of all login detail without having user to close browser? What type of authentication are you using? If it's a cookie, reset the cookie, if it's http authentication

RE: [PHP] logout

2001-06-20 Thread Richard Heyes
> Is there anyway I can do the logout that will completely get rid of all login > detail without having user to close browser? Depends on how your login system works. -- Richard Heyes

Re: [PHP] Saving to a file

2001-06-20 Thread Andreas D. Landmark
At 20.06.2001 09:04, Rosen wrote: >Hi, >Sorry for the stupid question, but i don't have at me a PHP manual >and I want to save some string to file from PHP. > > >Can someone tell me how ( with what function to do this ) ? > > >Thanks >Rosen fopen() [http://www.php.net/manual/en/function.fopen.ph

RE: [PHP] logout

2001-06-20 Thread Robert Covell
Yes, What I have found out is that if you change the realm name the browser (IE and NS) empty the cache for the current authentication and force a re-auth.  We append a time stamp to our realm, so they have 1 minute to login before it will change again.  If you combine this with sessions and

Re: [PHP] logout

2001-06-20 Thread Andreas D. Landmark
At 20.06.2001 23:34, you wrote: >Is there anyway I can do the logout that will completely get rid of all >login detail without having user to close browser? >Jack I guess you could overwrite it with other logindetails by redirecting the user to a webpage that requests a username/password that i

RE: [PHP] test

2001-06-20 Thread PHPBeginner.com
yup, it works. :-) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 6:17 PM To: [EMAIL PROTECTED] Sub

RE: [PHP] bad form...

2001-06-20 Thread PHPBeginner.com
No, that's alright, as long as you design it to switch properly, like if($HTTP_(POST|GET)_VAR) or whatever that assures you it is to be switched. There's basically no difference if you use the same file or several instead. Whatever suits you better. I do it all the time. Sincerely, Maxim Male

RE: [PHP] Sessions: auto appending session id to URLs

2001-06-20 Thread PHPBeginner.com
try to look into ini_set() (was I right naming it so?) The function, if available for you, will allow you to override the php.ini configurations. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original

RE: [PHP] logout

2001-06-20 Thread PHPBeginner.com
Hey, this has been asked here like ten times today only...   Depends, usually you should be able to. Like, set them a cookie on logout button and, as long as they have it don't let them in. Silly method, I know, try also deleting cookies you have just set to the user when they logged in.   On

Re: [PHP] php and flash 5 books?

2001-06-20 Thread Julie Meloni
[EMAIL PROTECTED] wrote: > Hi Jay, > > Julie Melonie participate to the redaction of a book on FLASH 5; see > infos on her website at http://www.thickbook.com you can also find there > some tutorial on the subject. > > Marc > No no no -- I have not written a book that deals with PHP and Fla

Re: [PHP] PHP Hosting in The UK

2001-06-20 Thread AJDIN BRANDIC
try www.zenithtech.co.uk On Wed, 20 Jun 2001, Martin Wright wrote: > When do you need it Jamie we are in the process of setting something up? It > is actually focused on PHP business application software but we will be > offering hosting as well. > > Martin > > > Just a quickieDoes anyon

[PHP] Determining page load time?

2001-06-20 Thread Charles Williams \(CEO\)
Hey all, If you take a look at the link http://www.acnshosting.com/server_test/index.php you will notice that I am running a php script that calculates the time it takes to read the file from the drive and parse it through apache. However, that is all it does. What I would like to be able to d

RE: [PHP] Sessions: auto appending session id to URLs

2001-06-20 Thread Johnson, Kirk
There is a setting in the php.ini file named "session.use_trans_sid", which enables appending the session ID if PHP was compiled with enable-trans-sid. You could try setting this to 0 if you are allowed to set up an .htaccess file on the server. Create the .htaccess file with the following line i

[PHP] ldap object class violation with ldap_add in php4.0.4pl1

2001-06-20 Thread Derek
I'm doing some R & D with PHP and OpenLDAP I managed to get the php function ldap_add to work and I've been using PHP to add form-submitted information to a directory. However I decided to include another objectclass (uidObject) and now it returns with: error - Object class violation err

Re: [PHP] List of included file names.

2001-06-20 Thread Dallas K.
Try using $PHP_SELF to get the name of the PHP script. - Original Message - From: "Tim McGuire" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 19, 2001 11:30 AM Subject: [PHP] List of included file names. Hi, I searched the archives for this. For debugging pur

Re: [PHP] HTTP_POST_VARS not picking up checkboxes that are unchecked

2001-06-20 Thread Hugh Bothwell
"Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a form with approximately 40 input fields. When a form is posted it > sends an email and then builds a tab delimited $txt entry for a text file on > the server. > > The problem is that if a ch

Re: [PHP] logout

2001-06-20 Thread Steve Werby
"Jacky" <[EMAIL PROTECTED]> wrote: > Is there anyway I can do the logout that will completely > get rid of all login detail without having user to close browser? If you're using sessions session_destroy() will do it. Create a link or form button that calls that function. -- Steve Werby Presiden

Re: [PHP] Attachments in POP

2001-06-20 Thread Ker Ruben Ramos
oops :) sorry... used the wrong lists - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Ker Ruben Ramos" <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 10:59 PM Subject: Re: [PHP] Attachments in POP > > Why are attachments in POP cannot be viewed in latest IMP? b

Re: [PHP] how to delete cookies

2001-06-20 Thread Hasan Niyaz
setcookie("cookie_user",""); this will delete the cookie - Original Message - From: "Tom Beidler" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 7:20 AM Subject: [PHP] how to delete cookies > I have a site that is password protected using PHP an

Re: [PHP] bad form...

2001-06-20 Thread Dallas K.
On a previous shopping cart, some of our "fantastically complex" scripts got so big that WE couldn't follow the logic too many conditional test, things started to conflict it was hell... so we found that it was better to break the processing code apart from the html. but build one file

Re: [PHP] inserting a variable into a variable

2001-06-20 Thread Hasan Niyaz
Michi, Yours did the trick... thank you and everyone else who contributed. Hasan - Original Message - From: <[EMAIL PROTECTED]> To: "Hasan Niyaz" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 11:46 AM Subject: Re: [PHP] inserting a variable into a variable

[PHP] PHP / gd problems / compiling

2001-06-20 Thread Chad Day
my configure line: ./configure' '--with-mysql' '--with-apache=../apache_1.3.12' '--enable-track-vars' '--enable-ftp' '--with-jpeg-dir=/usr/local/bin' '--with-gd-dir=/usr/local/bin' gd version 1.8.1 .. Then whenever I try to create an image of any kind, be it gif, jpg, or png, I get: Warning:

Re: [PHP] Search engine php/mysql

2001-06-20 Thread Chris \"TunkeyMicket\" Watford
That poses a problem, it is easy to do for your own site [opendir], but other sites you'd have to open the html file [fopen], search for links, and add them to a list to spyder, grab the meta tags from the current page, then goto the next site in the spyder list. array_push to add to the end

RE: [PHP] email templates and str_replace

2001-06-20 Thread Rich Cavanaugh
Richard, The problem is with the str_replace()s. Consider the following: At this point $myvar still equals 'this is a var.' but $mytext is 'this is not a var.' $myvar hasn't been modfified by the str_replace so any additional str_replace()s after it will not have a cumlative effect.

[PHP] Calculate # of minutes during working hours between two dates

2001-06-20 Thread Wim Koorenneef
Hi all, I want to calculate the number of minutes between two dates, but only those minutes on monday through friday between 08.00 and 17.30. I could evaluate every minute in the interval against all known minutes during working hours, but that's a bit much :-) Any suggestions for a better, m

RE: [PHP] bad form...

2001-06-20 Thread scott [gts]
i agree. for small forms with not-a-lot-of-data to be processed, keeping it all together is generally a lot easier to maintain and upgrade. (it also makes it easier for others to understand your code - since the data input *and* processing code is all in the same place) > -Original Message

[PHP] Forum script

2001-06-20 Thread Rosen
Hi Can someone recommend me some good script for forums ? Thanks, Rosen -- 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]

  1   2   3   >