php-general Digest 31 Jul 2011 17:46:15 -0000 Issue 7422

2011-07-31 Thread php-general-digest-help
php-general Digest 31 Jul 2011 17:46:15 - Issue 7422 Topics (messages 314249 through 314251): Re: PHP runs but apache says its a faulting module every so often 314249 by: Negin Nickparsa Session treating 314250 by: Andre Polykanine 314251 by: Ashley Sheridan

Re: [PHP] PHP runs but apache says its a faulting module every so often

2011-07-31 Thread Negin Nickparsa
did you run phpinfo()?

[PHP] Session treating

2011-07-31 Thread Andre Polykanine
Hi guys and girls, I'm completely stuck at a really stupid thing. For some reason my session id doesn't pass through the links. Here is the code: index.php: ?php // Checking if the admin was ever authorized if ($_SESSION['PSS']!=session_id()) $auth=0; else $auth=1; if

Re: [PHP] Session treating

2011-07-31 Thread Ashley Sheridan
Andre Polykanine an...@oire.org wrote: Hi guys and girls, I'm completely stuck at a really stupid thing. For some reason my session id doesn't pass through the links. Here is the code: index.php: ?php // Checking if the admin was ever authorized if ($_SESSION['PSS']!=session_id()) $auth=0;

Re: [PHP] Session treating

2011-07-31 Thread Andre Polykanine
Hello Ashley, One thing sticks out a little bit to me. In your index.php file, you're accessing an element of the $_SESSION array, but without calling session_start() first. I believe this may be causing the issue you are seeing. I tried using it without success. I'm having now 3 separate

[PHP] Problem with header(Location: )...

2011-07-31 Thread Jason Pruim
So I'm attempting to redirect back to the main site of a page after a successful insert into a database... Here's my code: ?PHP if (!$resp-is_valid) { // What happens when the CAPTCHA was entered incorrectly die (The reCAPTCHA wasn't entered correctly. Go back and try it again. .

RE: [PHP] Problem with header(Location: )...

2011-07-31 Thread Dajka Tamas
Try lowercase 'http'. Anything in error log? Try turning on display_errors. Cheers, Tamas -Original Message- From: Jason Pruim [mailto:li...@pruimphotography.com] Sent: Sunday, July 31, 2011 8:40 PM To: php-general@lists.php.net Subject: [PHP] Problem with header(Location: )...

Re: [PHP] Problem with header(Location: )...

2011-07-31 Thread Jason Pruim
Jason Pruim li...@pruimphotography.com On Jul 31, 2011, at 2:50 PM, Dajka Tamas wrote: Try lowercase 'http'. Anything in error log? Try turning on display_errors. Tried both, upper and lower case http nothing changed... And nothing in the error log... I try a simple echo with a link and

[PHP] Phone numbers....

2011-07-31 Thread Jason Pruim
No I'm not looking for your phone number... Or for the guy/girl whose number you thought you got last night at the bar but turned out to be the information number... I'm working on a project for a client that I need to represent all the possible phone numbers in the US and Canada... Which

Re: [PHP] Phone numbers....

2011-07-31 Thread Alex Nikitin
There are databases with area codes for the first 3, so you only have to generate 1 million. Why do you need to store all of them again? On Jul 31, 2011 4:06 PM, Jason Pruim li...@pruimphotography.com wrote: No I'm not looking for your phone number... Or for the guy/girl whose number you thought

Re: [PHP] Phone numbers....

2011-07-31 Thread Jason Pruim
On Jul 31, 2011, at 4:14 PM, Alex Nikitin wrote: There are databases with area codes for the first 3, so you only have to generate 1 million. Why do you need to store all of them again? I don't necessarily need to store it... BUT I do need to be able to represent all the numbers

Re: [PHP] Phone numbers....

2011-07-31 Thread Ashley Sheridan
On Sun, 2011-07-31 at 16:18 -0400, Jason Pruim wrote: On Jul 31, 2011, at 4:14 PM, Alex Nikitin wrote: There are databases with area codes for the first 3, so you only have to generate 1 million. Why do you need to store all of them again? I don't necessarily need to store it... BUT

Re: [PHP] Problem with header(Location: )...

2011-07-31 Thread Tamara Temple
On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote: So I'm attempting to redirect back to the main site of a page after a successful insert into a database... Here's my code: ?PHP if (!$resp-is_valid) { // What happens when the CAPTCHA was entered incorrectly die (The reCAPTCHA wasn't

Re: [PHP] Problem with header(Location: )...

2011-07-31 Thread Jason Pruim
On Jul 31, 2011, at 6:23 PM, Tamara Temple wrote: On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote: So I'm attempting to redirect back to the main site of a page after a successful insert into a database... Here's my code: ?PHP if (!$resp-is_valid) { // What happens when the

[PHP] Understanding deprecated features from 5.2 - 5.3

2011-07-31 Thread robert mena
Hi, I am planning to upgrade my server from 5.2 to 5.3 but I am not sure if the deprecated features will simply throw warning messages but work or won't work at all. So far I've read that deprecated features are going to be removed on later versions. Unfortunately I host sites and some may use