RE: [PHP] .htpasswd login

2004-05-27 Thread Jami
Your looking for this: $_SERVER['PHP_AUTH_USER'] When running under Apache as module doing HTTP authentication this variable is set to the username provided by the user. See Reserved Variables: http://www.php.net/reserved.variables Jami Moore LightSPARK Digital De

RE: [PHP] Counting back 90 days...

2004-01-05 Thread Jami
less code and you don't need a function to do it. Hope this helps. Jami Moore LightSPARK Digital Designs [EMAIL PROTECTED] http://www.lightsparkdigital.com/ >> -Original Message- >> From: [EMAIL PROTECTED] >> >> >> Got this function... >> I wa

[PHP] SOLVED RE: [PHP] SESSION variables losing data on WinXP?

2003-09-19 Thread Jami
In case anyone else runs into this problem, the way I solved it was by reinstalling php with the windows installer from php.net. I'm not exactly sure what the problem was, but reinstalling it this way solved the problem. Hope this helps someone else. Jami Moore LightSpark Digital Designs [

[PHP] STILL NOT SOLVED RE: [PHP] SESSION variables losing data on WinXP?

2003-09-17 Thread Jami
Scott, thanks for the suggestion, but my php.ini is the same as yours. And I still have the problem. Any idea why $_SESSION[] variables would loose data on my server type and not on another? Jami Moore LightSpark Digital Designs [EMAIL PROTECTED] http://www.lightsparkdigital.com/ -Original

RE: [PHP] SESSION variables losing data on WinXP?

2003-09-17 Thread Jami
gation ___ //nav.php <.a href="admin_signup.php">Add Admin ___ //admin_signup.php include('validation.php'); if(!$_SESSION['aid']) { header(&qu

[PHP] SESSION variables losing data on WinXP?

2003-09-17 Thread Jami
I go to a page other than the entry page (which the validation page takes you to when you first log in), it throws me back to the login page. Has anyone run into this and have you solved it? Anyone have a suggestion? Code is rather lengthy, if you want it I can send it off list. Jami Moore LightSpa

RE: [PHP] Validating Subdomain E-mail Addresses Using Regular Expressions

2003-09-08 Thread Jami Moore
Jason, I have already done so and not found an answer, which is why I am asking the group now. Do you have a suggestion or have you found a link that may help? That would be ten times more useful than, "Search the archives or ask google." Jami Moore LightSpark Digital Designs [EMAIL

[PHP] Validating Subdomain E-mail Addresses Using Regular Expressions

2003-09-07 Thread Jami Moore
- End Code -- >From my understanding, this should allow me to validate an e-mail address like <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Has anyone been able to come up with a regular expression that will allow php to validate an e-mail address like this? Jami Moore Owner / Designer

[PHP] fwrite and line breaks

2002-12-12 Thread Jami
to create new lines, instead of boxes where the break should be? I have tried changing "w" to "wb" as suggested on php.net, but that does not work either and I am out of ideas. Jami

[PHP] header() and target page

2002-12-01 Thread Jami
I am just full of them this weekend. Is it possible to direct a header like a html link (i.e. target="_top") ? I have a page that is in a frame, and I want the new page that is called to break the frame and load in the entire frame. Thanks. Jami

[PHP] Session Variables Not Being Passed

2002-12-01 Thread Jami
it; } } This file is then used as an include in main.php. As long as the variables are used ONLY in the header.php file, it works. But when I try to call the session variables in main.php, it doesn't show the values of UN or UserLoggedIn. session_start() is called in main.php. Is this a quirk with sessions, or is there something more I am supposed to be doing? Running Apache 2 w/PHP 4.2.3 on WindowsXP. Jami

Re: [PHP] implode()?

2002-11-25 Thread Jami
Ok, figures I would be looking for something else and find the solution. urlencode(). Thanks for the reply Rasmus. :-) Jami - Original Message - From: "Jami" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 11:26

[PHP] implode()?

2002-11-25 Thread Jami
ode I am using is as follows: $prod = implode("+", $_POST['product']); Is this the correct thing to use, or is there another way to change the string? Thanks. Jami

Re: [PHP] THANK YOU! - How to: If($var != '#' OR '#')

2002-11-20 Thread Jami
Thanks all for the prompt responses. In case someone else searchs on the list, the following code worked: if($_GET['sc'] != '2' AND $_GET['sc'] !='8'){ do this. } Thanks Jason, Jonathan W., John H, Ryan G., and Tony B.! - Original Message -

[PHP] How to: If($var != '#' OR '#')

2002-11-20 Thread Jami
R' or something else... I have tried both of those, as well as 'XOR' and '^'. Help please! Jami -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php