Re: [PHP] Re: Realm Auth Via Non-Sessions
Day late and a dollar short bro! But thanks anyways. When the browser quits, it loses its memory of your username/password. That's all there is to it. Also, I was reading somewhere last week at some hosting companies website that they stream http?? What is that? Is it a gimmick? Or does stream=sessions? I am very famiuliar with webservers and their ilk via linux and I have never heard of streaming http... --ccma -- 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] Attitude of B van Ouwerkerk
PhP'ers I would suggest that people not think too hard about this and continue programming. Thats right get back to work...:) Have Fun! --ccma -- 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]
[PHP] Realm Auth Via Non-Sessions
Greetings: OT (yes)? When a user leaves a realm(.htaccess) from which they have logged into is there any kind of notification back to the server? I would like keep a log of such activities and do not want to do any session type of jizz jazz(cookies etc). I would think that there would need to be some kind of notification back to the server, as when I leave and come back (close browser) I get a new pass dialog popped up...How does Apache know that I have to re-authenticate and can I access this knowledge via php?. Thanks for any OT answers! -ccma -- 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] Find and Replace
!!Be careful of this, its super powerful!! try it on 1 test file first and then do the wildcard... from the unix command line: bashperl -p -i -e s/myself.inc/myself.inc.php/ *.php so its: perl -p -i -e s/original_text/text_to_replace/ file_name(s) - Original Message - From: Shrout, Ryan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 30, 2001 2:06 PM Subject: [PHP] Find and Replace This isn't exactly PHP I need help with, but it relates to what I learned about security. Up until now, I have been using *.inc extensions for my include files. Well, I didn't realize until recently that anyone can view these files. So, I want to rename them to *.inc.php. BUT, in almost all of my PHP pages, there are links to : include ('mydir/myfile.inc'); Can someone tell me how to do a recursive find and replace to look for /myfile.inc and replace it with myfile.inc.php? I am running Red Hat 7.1 Thanks! Ryan -- 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] -- 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] a good PHP editor
I wonder if Emacs runs on win2k it ran on win95 great... -ca - Original Message - From: Michael Champagne [EMAIL PROTECTED] To: doug [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 12:16 PM Subject: Re: [PHP] a good PHP editor VIM on Windows. Free and awesome. www.vim.org Hiya everybody, I'm relatively new to PHP and I'm looking for a good text editor on win2k for creating/manipulating php pages. Notepad is great if your in a bind, and I've tried phpedit and activestate's Komodo and both seem to have problems (crashing etc...). Anybody got any suggestions? Free/small fee programs doesn't matter Thanks Doug Henry -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction, unless specifically agreed otherwise. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect the views or opinions of Capital Institutional Services, Inc. Capital Institutional Services, Inc. accepts no liability for any errors or omissions arising as a result of transmission. Use of this communication by other than intended recipients is prohibited. ** -- 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] -- 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_query problem
$testResult = mysql_query(SELECT * FROM login_table where Pass = $query = select * from login_table where Pass=password('$password'); then echo $query to the screen and make sure you see what needs to be there. Also try mysql_error etc.. from the manual GL --ccma -- 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]
[PHP] Arggg
PHP PEOPLE, Sorry this is way off topic but can anyone point me to a place where I can find out how to mount/automount a tape drive in Linux? I need to know device name mount commands and tape drive commands etc...Been searching on the net for hours and the bits and pieces are not forming a whole :( Thanks-- -- 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] how to use/compile ssl with apache and php?
Seb-, http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ I used this tutorial the first time. It was very straight forward. Remember that you dont need rsaref files anymore in the US. could someone explain me what i need to ad to the apache compiling string ? ( i build php in apache ) sebastian --ccma -- 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] Redirect
look in manual for HEADER and LOCATION - Original Message - From: Vicor SpÄng Arthursson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 11:43 AM Subject: [PHP] Redirect Hi! Still new on PHP, converting from vb$cript, I wonder how I do a redirect... In vbscript: % response.redirect(page.extension) % In PHP??? Sincerely Victor -- 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] -- 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] hey, got a question....
what's the OS? - Original Message - From: ReDucTor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 11:34 AM Subject: [PHP] hey, got a question i can't seem to access certain ports, through a nat program i have setup on the computer here with the net, but i was thinking i could use something like socks, because i want to setup some fsockopen() stuff...but i can't use it on the ports i want, just frezzez...works over the lan fine, and over the net on ports i can access... -- 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] hey, got a question....
well theres your problem...winblows.lol - Original Message - From: ReDucTor [EMAIL PROTECTED] To: Christopher Allen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 11:58 AM Subject: Re: [PHP] hey, got a question Windows - Original Message - From: Christopher Allen [EMAIL PROTECTED] To: ReDucTor [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 06, 2001 2:45 AM Subject: Re: [PHP] hey, got a question what's the OS? - Original Message - From: ReDucTor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 11:34 AM Subject: [PHP] hey, got a question i can't seem to access certain ports, through a nat program i have setup on the computer here with the net, but i was thinking i could use something like socks, because i want to setup some fsockopen() stuff...but i can't use it on the ports i want, just frezzez...works over the lan fine, and over the net on ports i can access... -- 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] -- 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] -- 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]
[PHP] writing to file quick and easy.
Hello: Lookin for a little advice here. I have a series of scripts that dynamically create web pages. The last page in the series I wish to be able to write out to a file. Is there a simple/quick way in which I can take the process(ing) script and write it to a file at the same time that it is displaying? I need it to both display and be able to be downloaded such that the last thing that this script would do is create a link to itself in html format. Something to the effect that whatever was being passed to the browser could also be passed thru an open file handle thus written to a file Thanks, Christopher C. M. Allen -- 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]
[PHP] Icq Message
Greetings: Anyone have a clue as how to send an icq message to a given ICQ number via a php-web-page? TIA. Christopher C. M. Allen -- 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] URL Encode
In one page from a series of pages where I am building arrays for future use: $item4_array = urlencode (serialize ($item4_array)); echo "input type=hidden name=item4_array value=$item4_array"; --- On my last page I send an email so I need the info that was stored: $item4_array = unserialize(urldecode($item4_array)); $message .=" DIMS: L $item4_array[2] W $item4_array[3] H $item4_array[4] \n"; $message .="Item Weight $item4_array[1] \n"; Hey there, does anybody have any info regarding urlencode and rawurlencode HTH-- ccma -- 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]
[PHP] select as
Greets: I have a bit of php code that looks for a matching user/pass in a mysql table. There are three user/pass phrases in the table along with a an email that corresponds to each user/pass pair. Is there any way to construct a query that will do both the matching of the user/passes and also then give the corresponding email that matches the user/pass? table roughly looks like this: username pass email user_name2 pass2 email2 select * from customer where user_name='$username' pass='$password' || user_name2='$username' pass2='$pass'"; so if it matches on user_name2/pass2 I would then want to get email2... Thanks for any help! ccma -- 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] Advanced PHP
The chicken did. as the Chicken is an actual chicken and the egg is a potential chicken. Actuality precedes potentiality amen brotha. -- 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] Best browser
- Original Message - From: Kurth Bemis [EMAIL PROTECTED] To: Jason Jacobs [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 9:43 AM Subject: Re: [PHP] Best browser At 10:39 AM 2/27/2001, Jason Jacobs wrote: he's probably referring to the SSL code that the browser uses. In that aspect - it doesn't matter Actually it does. On the mod_ssl user list countless messages go by with IE not working with ssl. Various work arounds have been implemented but IE is a pain. Here are common probs http://marc.theaimsgroup.com/?l=apache-modsslw=2r=1s=Internet+Explorerq= b http://www.modssl.org/docs/2.8/ssl_faq.html#ToC48 -- 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()
I have a mail script that works fine except that it does not send to the CC in my header options... nor will it send to multiple addresses can some one please give me some advice on this... I've looked in the php manual as well as other web pages but neither have an answer for me. $headers .= "cc:[EMAIL PROTECTED],[EMAIL PROTECTED]\n"; // CC to $mailsend = mail("$address", "$subject", "$body.", "$headers \nContent-Type: text/plain; charset=iso-8859-1\nContent-Transfer-Encoding: 8bit" ); print ("$mailsend"); Is there supposed to be a "dot" after body? Whats the result in $mailsend? have you tried with just the cc's and no X-header info? Have you tried just these two: $headers = "mailto:cc:[EMAIL PROTECTED], [EMAIL PROTECTED] \n; $mailsend = mail("$address", "$subject", "$body", "$headers " ); -- 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]
[PHP] save some typing
Hola: http://www.google.com/intl/en_extra/options/winnetscape.html Its kinda helpful: I modified the above to utilize the www.php.net/some_function Heres the trivial js code: javascript:q=document.getSelection();for(i=0;iframes.length;i++){q=frames[i ].document.getSelection();if(q)break;}if(!q)void(q=prompt('Enter function to look for at www.php.net.',''));if(q)location.href='http://www.php.net/'+escape(q) Christopher C. M. Allen -- 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 fields
text field Hello, What type of field should I use if I don't want it to have a max length of characters? Thank you, -- 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]
[PHP] mktime + 4 days
Hi! How to get this to work for every month: $tomorrow = date ("d", mktime(0,0,0,0,date("d") +4 ) ); echo "Today + 4 days is $tomorrow br"; screws up Feb et al Thanks, Christopher C. M. Allen -- 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] Files only available via HTTPS
On Thu, Feb 01, 2001 at 04:29:09PM -0800, Michael Conley wrote: I have several PHP files that I only want users to be able to access via HTTPS. One way is to place these files only where the https server can see them. heres an example: IfDefine SSL . . VirtualHost x.x.x.x:443 DocumentRoot "/secure/secure_dir1" ServerName server.xxx.net /VirtualHost Of course if your non secure server knows about /secure/ its still possible for someone to see them. In this example use diff doc_roots. -- 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]
[PHP] html -echo-print
Hello, Is there any way around having to go back and backslash every quote in a html table that contains millions of quotes? I noticed that pre print " his name's jack"; /pre works for a single quote, but not double I would literally have a thousand quotes to back slash... My only other alternative is to take the table into Star Office and do a replace on ". Thanks for any replies. Christopher C. M. Allen -- 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] html -echo-print
JB, yes I do know that, but thanks :) I was looking for: pre print EOF EOF; /pre of course it was on : http://www.php.net/manual/en/function.print.php -- 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] Zend hit (Encoder price)
Unfortunately, it's not that simple. You haven't factored in Support costs nor administrative overhead nor... Well, I don't know what else the Marketing folks do when they figure these things out, but that's why I'm not in Marketing, eh? Right it's not my game either (marketing), but perhaps Zend would be willing to supply why the price is at $6,000. As you said above , it doesn't just stop when I buy the encoder. Whose going to do the encoding and continue doing the encoding with continued releases etc? A graphic designer? A consultant? I have listened to the arguments, 6000 is steep when you compare it with a download from freshmeat. Writing a c-module is not *that* far away from writing some of the more complicated php/perl/python scripts. Indeed this is what furthers php. I would rather see Zend charging for support contracts, rather than the actual product -- 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] SQL Server DB to mySQL DB
Just did this to a 65mb fixed width file. What I did was get it into a csv file via perl :) Then I created the db table. Then I used: load data infile "/file.csv" into table blah fields terminated by ',' ; then go ahead and create any indexes etc... !works slick! Is there an easy way to do this? I know that SQL Server can export a comma delimited file, can mySQL import this? I imagine the PHP will be easy to modify as long as the field names are the same. -- 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]
[PHP] php'ed mysql query
Hello, Can anyone tell me why this query errors out? It works from the mysql client command line just fine $query1 = "select * from zip_base where '$zip1' = zip '$zip1' = CONCAT (SUBSTRING(zip , '1' , LENGTH (zip) - LENGTH (range) ), range)"; Christopher C. M. Allen -- 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]