RE: [PHP] Site Moved From PHP4 to PHP5 Server - header, location no longer working

2010-01-07 Thread Vernon Webb
is the fact that it worked in a previous version of php, so waht's changed? ~V From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thu 1/7/2010 7:52 AM To: James McLean Cc: Vernon Webb; php-general@lists.php.net Subject: Re: [PHP] Site Moved From PHP4

RE: [PHP] Site Moved From PHP4 to PHP5 Server - header, location no longer working

2010-01-07 Thread Vernon Webb
Didn't know there were php logs, I thought they would be included in the Apache logs, where do I find the php logs? ~V From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thu 1/7/2010 8:42 AM To: Vernon Webb Cc: php-general@lists.php.net Subject: RE

RE: [PHP] Site Moved From PHP4 to PHP5 Server - header, location no longer working

2010-01-07 Thread Vernon Webb
It's the oddest thing. I've found the logs but there is no error at all, the server just hangs and the only way to get it back is to restart Apache. From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thu 1/7/2010 9:04 AM To: Vernon Webb Cc: php

[PHP] Site Moved From PHP4 to PHP5 Server - header, location no longer working

2010-01-06 Thread Vernon Webb
I move a number of sites from one server to another and one the one server we had php4 and now we have php5 and since then my server seems to hang every time there is a header, location redirect. Anyone have any ideas on how to resolve this? Is there something I can easily change in the php.ini

[PHP] After Upgrade to php 5 unlink fails

2006-11-14 Thread Vernon Webb
I've just upgraded to php 5 and am now getting the following error: Warning: unlink(/home/mywebsite/public_html/resumes/travelport_holiday_rev1.html) [function.unlink]: No such file or directory This worked fine prior to the upgrade and obviously the file does exist. What has changed and

[PHP] php 3 to 5 upgrade: foreach loop no longer working

2006-04-18 Thread Vernon Webb
I've recently upgraded a server from Fedora Core 3 to Core 5 in the process php had been upgraded from either 3 or 4 to php 5. In doing so I had to do a major overhaul of a web site as many things stopped working (.i.e $HTTP_POST_VAR, etc). Haven't gotten through most of that I know have a

Re: [PHP] php 3 to 5 upgrade: foreach loop no longer working

2006-04-18 Thread Vernon Webb
Register Globals? You got it. Is there any advantage to having this turned off? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Search File

2003-11-21 Thread Vernon Webb
I'm trying to find a way to search text files in a directory using php. I've done some researching under the filesystem section on php.net but seem to have come up empty handed. Is there a way to do keyword searches on a txt file in a directory hopefully with some type of relevance ranking?

Re: [PHP] UPDATE MySQL

2002-11-13 Thread Vernon Webb
Here's the thing. I'm trying to update a record when a user logs in. I have a login script that I am trying to have automatically update a record upon login. I figure the easiest way to do it is have the page submitted to another page which updated the record's last access date and then

Re: [PHP] UPDATE MySQL

2002-11-13 Thread Vernon Webb
I made some modifications to the code and I do not get ant error messages, but the database is still not updated. Here's the code: ?php $hostname_connPENPALS = localhost; $database_connPENPALS = phpenpals; $username_connPENPALS = username; $password_connPENPALS = password; // SET DATE