Re: [PHP] Sessions not destroyed

2004-10-08 Thread Dennis Gearon
There is a difference between the session file existing, and the user still having a valid session. If the timeout has occurred, and the file has not been deleted, when the user accesses it, the session will not show up in $_SESS[]. Which for all intents an purposes, means the session has been

RE: [PHP] code not working...help?

2004-10-07 Thread Dennis Gearon
Graham Cossey [EMAIL PROTECTED] wrote: quote --- [snip] $lastmonth = date(YmdHis, mktime(date(H), date(i), date(s), date(m)-1, date(d), date(Y))); $countResult = db_query(SELECT count(*) AS msgCount FROM messages WHERE uid = '. $userID .' AND

Re: [PHP] proper method to do the following...

2004-10-06 Thread Dennis Gearon
Hugh Beaumont [EMAIL PROTECTED] wrote: quote I've been working with error_reporting(E_ALL) set lately trying to write code that does not give notices or errors. What is the proper way to set a variable so that it's

RE: [PHP] Upload problems

2004-10-05 Thread Dennis Gearon
Would you mind sharing what it was so that it hits the archives and a few 'enquiring minds'? Pablo Gosse [EMAIL PROTECTED] wrote: quote --- [snip] Look in your php.ini for max_upload_size or something like it. [/snip] 'Twas an apache problem.

[PHP] Re: iguanahost - anyone else being plagued?

2004-09-16 Thread Dennis Gearon
Or better yet, the mail list could be reconfigured to match every other mail list on the web, so that sender to the list doesn't get these. Nick Wilson wrote: Anyone else getting these infuriating italian messages about some muppet that doesnt exist? 'desintione non existente'? I've written to

Re: [PHP] something like an SID

2004-09-15 Thread Dennis Gearon
Just what the doctor ordered! Thanks Chris. Chris Dowell wrote: Try this: http://uk.php.net/output_add_rewrite_var Dennis Gearon wrote: You make a good point, Marek. They CAN open a new window with different results. Maybe it's up to each page to keep track of where it is at, via form elements

[PHP] Session theory

2004-09-15 Thread Dennis Gearon
At one time, I thought that I read about a problem with PHP4 sessions involving the recognitioni of the session expiration in the session engine. The problem was that the session variables were read into the scipt BEFORE the expiration time was checked. Anyone remember this? So, I'm asking if

[PHP] something like an SID

2004-09-14 Thread Dennis Gearon
I'd like a value to be passed back from every page, if that page was originally passed that value. The two ways that I can think of it, are: 1/ Javascript with some sort of 'onSubmit()' function which causes a minimal form to be submitted via POST or GET 2/ A hidden form value, and make every

[PHP] Session time out

2004-09-14 Thread Dennis Gearon
How do sessions 'time out'? Especially if using and SID in the query string (not a good idea, I know, but this bypasses cookie timeout and so removes it from timeout methods for this discussion) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] something like an SID

2004-09-14 Thread Dennis Gearon
: Dennis Gearon wrote: I'd like a value to be passed back from every page, if that page was originally passed that value. The two ways that I can think of it, are: 1/ Javascript with some sort of 'onSubmit()' function which causes a minimal form to be submitted via POST or GET 2/ A hidden form

[PHP] Re: !!Urgent .. Session Problem Solved ... But not completely

2004-09-04 Thread Dennis Gearon
It has to be in SOME file. Probably in your prepend file or one of the files that it includes. Dre [EMAIL PROTECTED] wrote: quote - believe me the FIRST line in the file is ?php session_start(); NOTHING AT ALL exists before it. but I

[PHP] Sessions and Logins

2004-09-03 Thread Dennis Gearon
Please CC me - I am designing my own 'usr' class that takes care of logins. I need to know the following to finish it. --- A/ Does anybody use sessions for users who are not logged into the site, and why? B/ If a user goes

[PHP] Using Post like Get

2004-07-23 Thread Dennis Gearon
With get varaibles, it's possible to always have get variables on a page, even without a form, by simply appending the Get variables to the end of the URL. Is there anyway to do the same with Post variables? For instance, a javascript that onUnload submit, or something? -- PHP General Mailing

Re: [PHP] Using Post like Get

2004-07-23 Thread Dennis Gearon
or windows in a browser. www.scotttrade.com does it somehow, and I see no GET variables on the URL. John W. Holmes wrote: Dennis Gearon wrote: With get varaibles, it's possible to always have get variables on a page, even without a form, by simply appending the Get variables to the end of the URL

[PHP] classes being extended

2004-07-23 Thread Dennis Gearon
Can someone ask the internals list this question, since I can't seem to subscribe right now, (or answer the question) If a class is a base class, does each child make it's own copy of: the whole base class the class variables only something else? So if I have a bunch of

RE: [PHP] textarea/display question...

2004-07-21 Thread Dennis Gearon
Make sure to remove tags via: $var_that_will_be_displayed = strip_tags( $var_from_user_input_via_POST_or_GET_or_COOKIE ); if you are going to display or mail it as part of a link(email or URL), you might do this instead: $var_that_will_be_part_of_a_link = strip_tags(

Re: [PHP] session and mysql connection identifier

2004-07-21 Thread Dennis Gearon
What he is really looking for is connection pooling. Do a google and see if you can find 'mysql connection pooling php'. It is persistent connections across page accesses, which PHP does not do natively AFAIK. Jason Wong [EMAIL PROTECTED] wrote:

Re: [PHP] SpanCease 'crap'

2004-07-19 Thread Dennis Gearon
I think that having the list settings set up to email everybody who is on single emails using the email address of the person writing this list is - WRONG. Most lists I am on don't do that. quote Justin Patrin [EMAIL PROTECTED] wrote:

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-19 Thread Dennis Gearon
There is a book/CD by 'Stroup' called 'More effective c++'. VERY excellent book. It give someting like 54 specific technicques to employ that save LOTS of time for a C++programmer. One of the ones from that book, applies here: DON'T write if ( variable ==/= constant){;} INSTEAD write if(

[PHP] problem with super global '$_REQUEST'

2004-07-15 Thread Dennis Gearon
I have a function in a class that unsets the superglobal $_REQUEST; Well, it's supposed to, it doesn't do it. I'm on version 4.2.3 of PHP. This page: http://us2.php.net/manual/en/language.variables.predefined.php#language.variables.superglobals says that $_REQUEST is a super global as of

[PHP] Re: problem with super global '$_REQUEST'

2004-07-15 Thread Dennis Gearon
assigning an unset variable to the global? IT WORKS! Change the line below: unset( $_REQUEST ); *--to--* $unset_variable; $_REQUEST = $unset_variable; VOILA! no more $_REQUEST super_global. Now, I need to see if it can still be assigned to as if it's a super global. Dennis

Re: [PHP] problem with super global '$_REQUEST'

2004-07-15 Thread Dennis Gearon
advise against that. Why exactly are you unsetting a superglobal? On Thu, 15 Jul 2004 15:00:15 -0700, Dennis Gearon [EMAIL PROTECTED] wrote: I have a function in a class that unsets the superglobal $_REQUEST; Well, it's supposed to, it doesn't do it. I'm on version 4.2.3 of PHP. This page

Re: [PHP] Re: problem with super global '$_REQUEST'

2004-07-15 Thread Dennis Gearon
I bet it would work, 'cause whenever $GLOBALS is 'print_r'd, Globals shows up and a 'recursion note' ends the execution of 'print_r'. Justin Patrin wrote: You *can* unset it, you just have to unset the place where it really sits. When you have a global in a function, then unset it, you only

[PHP] RE:$_Request from 4.3 to v5.x

2004-07-13 Thread Dennis Gearon
Isn't $_REQUEST the same as the old GPC variables in global namespace? A way to get requested variables without paying attention to whether they came in via cookies, post, or get? That's been my understanding so I've been using $_GET, $_POST, $_COOKIE instead, because that way I don't have to

[PHP] RE: using htmlentities with data in textarea

2004-07-13 Thread Dennis Gearon
When setting up a site, you should: A/ write a page with only the function 'phpinfo()' on it. B/ Call the page phpinfo.php, and put it in your document root. C/ Now tell us the location of your site so we can all view all your security information :-) wink do only A above and see if you

[PHP] array indexes as arguments to a function

2004-07-12 Thread Dennis Gearon
please CC me, as I am on digest. --- say I've got a class that stores the cookie/get/post vars. I want to retrieve say one of them. Say, that post vars come back from browser as: POST[var1_arr][dim1][dim2] they are stored in

[PHP] images outside of document root

2004-07-06 Thread Dennis Gearon
I want to keep an entire library OUTSIDE of the document root. The library includes some imgages. How can I have the browser include the imageges? I've hard of BASE64'ing the images into the header and decoding them using javascript. Is this the best way? Where is code to do that? -- PHP

Re: [PHP] images outside of document root

2004-07-06 Thread Dennis Gearon
I may do that, but the 'showimage.php' file then has to be in the document root, and can be attacked a LOT. I have found ways to do inline images, without javascript, I believe. Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Dennis Gearon: I want to keep an entire library OUTSIDE

[PHP] conditional includes in class functions

2004-07-05 Thread Dennis Gearon
Anyone ever done that? Does PHP actually wait until the include is actually needed before it does it? It might wait to execute it, but does it wait to include it? Trying to speed up the loading of pages. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] connection parameters to db's

2004-07-03 Thread Dennis Gearon
Please CC me. When I connect to a database on the same machine as the apache server us running under, that's server name localhost, right? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:[PHP] file knowing its own directory

2004-06-13 Thread Dennis Gearon
Just for the record, (and archives), This can be accomplished by: dirname( __FILE__); This allowes me to put the following into an application's config file, to be included via the prepend, the following localized, global values: (assuming the application's files are kept OUT of the document root

[PHP] file knowing its own directory

2004-06-09 Thread Dennis Gearon
please CC me 'cause I am on digest the scenario: three files: .htaccess has line saying php_prepend 'true_filesystem_location_php_prepend_file' prepend.php (aforementioned prepend file) has line saying include file_a.php file_a.php has line

Re: [PHP] Re: ini_get

2004-06-07 Thread Dennis Gearon
thank you very much. Richard Davey wrote: Hi, Monday, June 7, 2004, 5:49:30 PM, you wrote: DG Does anyone know if ini_get returns the values BEFORE or AFTER the DG .htaccess modifies them? i.e., does it return the server or local DG version? BR Perhaps you're misunderstanding what ini_get() does?

[PHP] ini_get

2004-06-06 Thread Dennis Gearon
CC me please. Does anyone know if ini_get returns the values BEFORE or AFTER the .htaccess modifies them? i.e., does it return the server or local version? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] *.pdf into postgres using php

2004-05-11 Thread Dennis Gearon
Please CC me, I am on digest. Any one done that and can give me some pointers? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] hash with RIPEMD-160

2004-05-09 Thread Dennis Gearon
Please CC me as I am on digest. Anyone using RIPEMD-160 for hashing in PHP? Is it part of Apache or the underlying OS? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Programming Innovation Award

2004-04-15 Thread Dennis Gearon
Andy B [EMAIL PROTECTED] wrote: quote one question though how can you tell if a class or package you are writting or want to attempt to write has ever been created before?? 99.9% of the time anything i ever thought of for classes/packages to write are either too simple or the idea has

[PHP] quickie survey

2004-04-14 Thread Dennis Gearon
I am doing a site where some of the pages will show various hours of some businesses. To make life easier for searching for open businesses PER DAY, I have pretty much decided to make an arbitrary dat-to-day boundary, instead of the usual midnight boundary. Some businesses that this applies to

RE: [PHP] Session confusion again :( - Thanks!

2004-04-14 Thread Dennis Gearon
'Chris W. Parker' [EMAIL PROTECTED] elucidated: Thanks guys but I have register globals ON so once the session variable is defined I should be able to address it without specifying $_SESSION ? WHERE do you have it on? Most sites now have it turned off for VERY valid security reasons. If you are

[PHP] WIERD list behavior

2004-04-14 Thread Dennis Gearon
When I make a posting to this list, I get an email like below: --- Subject: Thank you From: Advance Credit Suisse Bank [EMAIL PROTECTED] Date: Wed, 14 Apr 2004 12:03:35 -0700 To: Dennis Gearon [EMAIL PROTECTED] ADVANCE CREDIT SUISSE BANK

[PHP] basic auth question

2003-11-23 Thread Dennis Gearon
Please CC me, I am on digest -- If I have a directory like: $HOME/www/ (document root) It has a auth section in the .htaccess file $HOME/www/.htaccess another directory like: $HOME/www/want_to_be_public/ How can I defeat the auth section in the

[PHP] basic auth question

2003-11-23 Thread Dennis Gearon
Please CC me, I am on digest -- If I have a directory like: $HOME/www/ (document root) It has a auth section in the .htaccess file $HOME/www/.htaccess another directory like: $HOME/www/want_to_be_public/ How can I defeat the auth section in the

[PHP] basic auth question

2003-11-23 Thread Dennis Gearon
Please CC me, I am on digest -- If I have a directory like: $HOME/www/ (document root) It has a auth section in the .htaccess file $HOME/www/.htaccess another directory like: $HOME/www/want_to_be_public/ How can I defeat the auth section in the

[PHP] wiki

2003-11-13 Thread Dennis Gearon
I need a wiki, VERY simple. BUT OTOH, it'd be nice if it had the ability to display, or attache a picture to a topic. Any good stuff known to exist? MySQL background. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mailing labels from databases

2003-10-20 Thread Dennis Gearon
I'm on digest, please CC me. What output document format are people using for doing mailing labels from databases? I have thought about HTML, but it doesn't do multiple pages to the printer well. OperOffice Writer would be nice, can PHP do that? Probably better would be PDF files, since it's

[PHP] script archives

2003-09-02 Thread Dennis Gearon
I'm trying to find a script archive I once used to go to. It was neck and neck with hotscripts.com in usable scripts. It was for PHP only scripts. I THOUGHT it was called phpscripts.com, but no such site exists. anyone give a short list of PHP script archive sites? -- PHP General Mailing List

Re: [PHP] script archives

2003-09-02 Thread Dennis Gearon
Chris Shiflett wrote: --- Dennis Gearon [EMAIL PROTECTED] wrote: I'm trying to find a script archive I once used to go to. It was neck and neck with hotscripts.com in usable scripts. It was for PHP only scripts. I THOUGHT it was called phpscripts.com, but no such site exists. Perhaps

Re: [PHP] script archives

2003-09-02 Thread Dennis Gearon
Chris Shiflett wrote: --- Dennis Gearon [EMAIL PROTECTED] wrote: I'm trying to find a script archive I once used to go to. It was neck and neck with hotscripts.com in usable scripts. It was for PHP only scripts. I THOUGHT it was called phpscripts.com, but no such site exists. Perhaps

[PHP] accessing $GLOBALS values

2003-09-02 Thread Dennis Gearon
I am looking at the 'tackle' library available at sourceforge. It's a 'Tiny ACL' (access control list). Seems pretty good, simple and to the point. AND, it is database neutral, using ADODB. I haven't figured out how it does referential integrity in the database yet, but I suspect it's

[PHP] password systems

2003-08-31 Thread Dennis Gearon
Anyone have any sources of noun/verb/adjective lists for password generation? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] some html basics please

2003-08-30 Thread Dennis Gearon
It seems that HTML is LAME, LAME,LAME when it comes to determining local directories. I would like to somehow: put image links relative to a base directory (if a relative URI is given) and have PAGE links relative to the current page (if a relative URI is given) What I seem to be able

Re: [PHP] some html basics please

2003-08-30 Thread Dennis Gearon
Chris Shiflett wrote: ../ is the parent directory ./ is the current directory / is the root directory I knew that ./ was the current directory on a *nix system, but a browser will respect that also? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] auto_prepend_file

2003-08-22 Thread Dennis Gearon
Is there any settings that will silently disable the ability for a .htaccess file to use the php_value auto_prepend_value some file name directive? Some safe mode thing, or an ini setting or something? The people at the host I'm at just CAN'T seem to get it working on my site. It's an

[PHP] ensim problems

2003-08-21 Thread Dennis Gearon
please cc me. I'm on a host with ensim, and it **IS** reading the .htaccess file, (I've tested it), but it isn't reading the directive: php_value auto_prepend_file /path/file.name For those with better shell experience, would this find all the .htaccess files using that directive on a shared

[PHP] (^*$*(^*$% ensim web appliance

2003-08-19 Thread Dennis Gearon
please cc me Anyone on a shared, name-based IP, ensim web appliance hosted website? Can you tell me how to set the freekin': php_value auto_prepend_file /some_freekin_unknown_real_directory_path_to_HOME/my_paths/prepend.php value in my .htaccess file? -- PHP General Mailing List

Re: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems

2003-07-18 Thread Dennis Gearon
I received this email, with the PHP subject, at an address I haven't used in a long time on the PHP list. It contained a attached file called: Marzia_MaterialeDaInternet.lnk.exe A fairly large BASE 64 encoded attachment. I DID not open it. This is a warning to others. Lucas Persona wrote:

[PHP] native vs. phplib sessions

2003-04-04 Thread Dennis Gearon
How many people are using native vs. phplib sessions, vs. their own/homegrown sessions? The archives show a LOT of problems with native sessions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Favor from gurus

2003-03-20 Thread Dennis Gearon
If one of you are a guru and on the php-dev list, would you please either look at the code or ask others on that list if it's possible to use: 'requiressl=1' in the connection string for pg_connect/pg_pconnect and it will actually work in PHP ver = 4.2.2 ? I am already on so many lists,

Re: [PHP] md5() number of aruments

2003-03-19 Thread Dennis Gearon
: der Ritter Dennis Gearon wrote: The usage of md5() in PHPLIB show TWO arguments, a seed and the string. Nothing in the online manual shows 2 args. What's the dealio? Line 111 from PHPLIB7.2c - session.inc: $id = $this-that-ac_newid(md5(uniqid($this-magic)), $this-name); -- PHP General

Re: [PHP] md5() number of aruments

2003-03-19 Thread Dennis Gearon
, if you *want* to seed/salt the MD5 with a key you can use: http://www.php.net/manual/en/ref.mhash.php -- Jason k Larson aka: der Ritter Dennis Gearon wrote: The usage of md5() in PHPLIB show TWO arguments, a seed and the string. Nothing in the online manual shows 2 args. What's the dealio? Line 111

Re: [PHP] connecting securely to remote database

2003-03-19 Thread Dennis Gearon
---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED] END QUOTE I'd suggest hopping onto the postgres list Josh. On March 19, 2003 01:25 am, Dennis Gearon wrote: how do I connect securely to a postgres database on another server

Re: [PHP] md5() number of aruments

2003-03-19 Thread Dennis Gearon
key]) ^ salt/seed/key - whatever you want to call it -- Jason k Larson Dennis Gearon wrote: I don't see anywhere on that page where it shows using a seed. It shows **selecting a hash algorithm**, but no salt. Maybe that's the second argument

RE: [PHP] Anybody have any thoughts on Smarty?

2003-03-19 Thread Dennis Gearon
Smarty is very wonderful. If both the coder and the designer work together, layout and code logic can be completely separate. I am doing a form for entering in about 25 fields. As long as the template the designer comes up with has: The required form variables, and template

[PHP] connecting securely to remote database

2003-03-18 Thread Dennis Gearon
how do I connect securely to a postgres database on another server / DNS name / IP? Some way to do SSL/SSH easily from PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] md5() number of aruments

2003-03-18 Thread Dennis Gearon
The usage of md5() in PHPLIB show TWO arguments, a seed and the string. Nothing in the online manual shows 2 args. What's the dealio? Line 111 from PHPLIB7.2c - session.inc: $id = $this-that-ac_newid(md5(uniqid($this-magic)), $this-name); -- PHP General Mailing List (http://www.php.net/) To

[PHP] help from experienced devr's

2003-03-17 Thread Dennis Gearon
Simple question, only related to this forum in that all of us use libraries that are compressed. I'm trying to use adodb, and I uploaded it's zipped archive to a linux box and gunzip won't unzip it. Says 'multiple entries'. Anyone know how to upload it, short of unzipping in on a windbloze

Re: [PHP] help from experienced devr's

2003-03-17 Thread Dennis Gearon
Turns out the adodb guy DOES have a *.tgz file to download. I got it, (it's missnamed in the extension), and was able to extract it fine. Thanks for your help! Ernest E Vogelsinger wrote: At 00:18 18.03.2003, Dennis Gearon said: [snip] Simple question

[PHP] documentation on pg_escape_string()

2003-03-17 Thread Dennis Gearon
Anyone know where to find documentation on this? Who knows what it escapes? please cc / bc me as I'm on digest -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] http_session_vars

2003-03-13 Thread Dennis Gearon
do the session vars get treated with magic quotes? The last comment at the bottom of: http://www.php.net/manual/en/function.get-magic-quotes-gpc.php Seems to think so. He's written good code, but I have my doubts as to whether it should be applied to session vars. -- PHP General

[PHP] Will this do what I think it will?

2003-03-13 Thread Dennis Gearon
I call this file 'clean_gpc.php'. Will it: // trim all control codes and spaces from ends of string // standardize Window's CRLF in middle of string to \n // standardize Apple's LF in middle of string to \n // remove all control characters BELOW \n // remove all

[PHP] trim() not working according to php.net site examples

2003-03-13 Thread Dennis Gearon
The below does not remove the control characters as the site examples show. I was doing it to the $HTTP_POST_VARS, with a whole lot more functionality, but I can't ANY thing to modify the string below :-( Anyone got any ideas why this does not print a string trimmed of all the

[PHP] can't get any string replacements to clean this

2003-03-13 Thread Dennis Gearon
All i get out of: str_replace ereg_replace preg_replace is an empty string value. Anybody know why? ?PHP $bad_str = \t\t\t\\r\\\r\r\r\r\n\r\nFour schore ...and seven\n\n\n\n\nr\r\r\rn\r years ago, ,,,,,,our father

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Dennis Gearon
makes no difference .. Joe Goff wrote - Put the arguments inside of double quotes instead of single quotes and then try it. $bad_str = str_replace(\r,\n,$bad_str); - Original Message - From: Dennis Gearon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 13

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Dennis Gearon
ooops, after many hours on this, I had deleted out the final echo statement. I will play with this and see what I get now. ?PHP $bad_str = \t\t\t\\r\\\r\r\r\r\n\r\nFour schore ...and seven\n\n\n\n\nr\r\r\rn\r years ago, ,,,,,,our father

Re: [PHP] can't get any string replacements to clean this

2003-03-13 Thread Dennis Gearon
I finally got something to do it, at least, in inline code. I couldn't figure out how to remove NULLS, anybody know? A search on: http://marc.theaimsgroup.com/?l=php-generalr=1w=2 didn't turn anything up. // // WORKING

[PHP] non transmitted cookie

2003-02-26 Thread Dennis Gearon
Is there anyway for a page to save information on a user's computer which is accessible via java or javascript, but doesn't get sent with each HTML request the way a cookie is? I had this idea, patterned after kerberos: 1/ A user logs into a site via a secure link. 2/ A hash salt is stored on

Re: [PHP] non transmitted cookie

2003-02-26 Thread Dennis Gearon
ids instead of 32) and also limit the life of the session, you could write logic to change the session ID every n minutes which would make brute forcing the session id even harder. Jason On Wed, 2003-02-26 at 11:34, Dennis Gearon wrote: Is there anyway for a page to save information

[PHP] user registration system

2003-02-21 Thread Dennis Gearon
Anybody know of a good user registration system, using emailed web addresses for verification of email address? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] prepend file

2003-02-19 Thread Dennis Gearon
How can I get a prepend file to work out of my .htaccess file when the host provider is running safe-mode? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using 404 instead of mod_rewrite

2003-02-03 Thread Dennis Gearon
they are alive - Sincerely, Dennis Gearon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using 404 instead of mod_rewrite

2003-02-03 Thread Dennis Gearon
), MySQL 3.23.43 PostgreSQL coming soon! http://www.newmediaone.net webmaster at newmediaone.net (303)828-9882 - Original Message - From: Dennis Gearon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 8:31 PM Subject: [PHP

[PHP] web server and permissions

2002-11-20 Thread Dennis Gearon
Please B/CC me, thank you. I am on a site that has all the files in both the /home/sitename/www/ directory and a directory we'll call /home/directory/includes/ with the following permisssions: rwxr-x--r The group I have in /etc/group does not have anyone in it, including me. The server

Re: [PHP] web server and permissions

2002-11-20 Thread Dennis Gearon
Would this prevent other PHP users from including files in my include directory? 11/20/2002 1:45:08 PM, Ernest E Vogelsinger [EMAIL PROTECTED] wrote: At 19:49 20.11.2002, Dennis Gearon said: [snip] Please B/CC me, thank you. I am on a site that has all

[PHP] SQL Injection/Data Balidation

2002-08-16 Thread Dennis Gearon
Please CC me as I'm on digest: -- Are there any libraries for data validation available? If one reads papers like these: http://www.nextgenss.com/papers/advanced_sql_injection.pdf http://www.nextgenss.com/papers/more_advanced_sql_injection.pdf It

[PHP] Browser Javascript capabilities

2002-07-31 Thread Dennis Gearon
Is it possible from the browser requests to tell if it is jscript enabled so that an appropriate page can be sent for en/disabled browsers? -- If You want to buy computer parts, see the reviews at: http://www.cnet.com/ **OR EVEN BETTER COMPILATIONS**!!

Re: [PHP] php 'mail()' security

2002-07-28 Thread Dennis Gearon
bunch of useful globals. As a matter of fact, try this one out too: print pre; print_r($GLOBALS); print /pre; Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: Bob Lockie [EMAIL PROTECTED] To: Dennis Gearon [EMAIL PROTECTED]; Tech Support

[PHP] php 'mail()' security

2002-07-27 Thread Dennis Gearon
, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php 'mail()' security

2002-07-27 Thread Dennis Gearon
. - Look lovingly upon the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http

[PHP] Mail routing/reply to woes

2002-06-06 Thread Dennis Gearon
I am the webperson for a couple of sites, new ones. I've set up several addresses, some I get and respond to. What I would like, for all the addresses on the box, is for someone to be able to run their browser's mailere to be able to download the mail, and also send mail from the server th3e

[PHP] help with a rewrite directive

2002-05-30 Thread Dennis Gearon
Can anyone tell me the rewrite instruction for apache-mod_rewrite for: original - TangoClass.doc final- TangoClass.htm and it shows up in the browser window? -- If You want to buy computer parts, see the reviews at: http://www.cnet.com/ **OR EVEN BETTER COMPILATIONS**!!

[PHP] phpinfo

2002-05-23 Thread Dennis Gearon
Corones...my friend always. - Look lovingly upon the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon

[PHP] Re:phpinfo

2002-05-23 Thread Dennis Gearon
, the backticks, invoke php as a one time interpreter, OR, have a page that I call that has the appropriate version of PHPINFO in it, and call that page and process the returned call, from with in the current script. Dennis Gearon [EMAIL PROTECTED] wrote: -- has anyone

Re: [PHP] ini-options

2002-05-23 Thread Dennis Gearon
I should have added: ... that worked before PHP4. But thanks, see my previous post to this. Philip Olson wrote: if only there were, 'get_magic_quotes_sysbase();' happy birthday ;) function get_magic_quotes_sybase() { if (!ini_get('magic_quotes_sybase')) { return 0;

[PHP] more database escaping

2002-05-23 Thread Dennis Gearon
. - Look lovingly upon the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http

[PHP] ini-options

2002-05-22 Thread Dennis Gearon
the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ini-options

2002-05-22 Thread Dennis Gearon
if only there were, 'get_magic_quotes_sysbase();' Jason Wong wrote: On Thursday 23 May 2002 11:49, Dennis Gearon wrote: Is there any way before PHP4 to read: magic_quotes_xxx settings so that I know what is happening to data escaping? get_magic_quotes_gpc() get_magic_quotes_runtime

Re: [PHP] ini-options

2002-05-22 Thread Dennis Gearon
. - Sincerely, Dennis Gearon (Kegley) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] More on escaping for SQL statements

2002-05-20 Thread Dennis Gearon
I appreciate all the replies to my question before about this. And also to the person who asked the question later in the day! What I'm looking for is a database neutral, comprehensive way to do escaping. First of all, though, will a php string hold binary data with the value of 0x00 at

[PHP] Re: Confused about which function to use with forms/database

2002-05-18 Thread Dennis Gearon
always. - Look lovingly upon the present, for it holds the only things that are forever true. - Sincerely, Dennis Gearon (Kegley) -- PHP

Re: [PHP] Re: Confused about which function to use with forms/database

2002-05-18 Thread Dennis Gearon
I think I will try to standardize on the '' version, then. thank you. Miguel Cruz wrote: On Sat, 18 May 2002, Dennis Gearon wrote: I appreciate all the good info on this subject, everybody. In looking the archives, I am still confused on one issue. Do **ALL** databases treat

  1   2   >