Re: [PHP-DB] slow loading page (solved)

2006-02-15 Thread redhat
On Tue, 2006-02-14 at 17:35 -0800, Micah Stevens wrote: On the server, you can use Dig - it's a pretty good DNS tool. On windows you can use nslookup I think. -Micah On Tuesday 14 February 2006 8:07 am, redhat wrote: On Tue, 2006-02-14 at 18:06 +1030, David Robley wrote: Micah

[PHP-DB] Displaying Unix Timestamps as human readable dates / times?

2006-02-15 Thread Alex Major
Hi there. I am currently intergrating a vbulletin forum with my website, and am now merging the two databases together. On the vbulletin database all times/dates are stored as a unix timestamp, but in the past I've always stored mine as 21/3/2006 (for example.) I am now trying to get these unix

Re: [PHP-DB] Displaying Unix Timestamps as human readable dates / times?

2006-02-15 Thread Michael Crute
On 2/15/06, Alex Major [EMAIL PROTECTED] wrote: Thanks for the link, I've had a read through but I don't think I'm quite grasping it. From what I think I understand, if I put this.. date ( m.d.y [, 'joindate'] ) Then I would get the date displayed like 03.03.01 (for the 3rd March 2001). Or

Re: [PHP-DB] slow loading page (solved)

2006-02-15 Thread Micah Stevens
On Wednesday 15 February 2006 5:24 am, redhat wrote: Well, it looks like it might be a DNS issue or at least a routing issue after all. I hit the phpinfo page on the server from home (completely different ISP) and it loaded like I thought it should have - very fast - even for phpinfo. I

[PHP-DB] Oracle error

2006-02-15 Thread Carel Smit
Hi, Can anyone tell me what the possible causes of this error are? PHP Warning: Unknown: _oci_close_session: OCISessionEnd: ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s] in Unknown on line 0 -- PHP Database Mailing List (http://www.php.net/) To

RE: [PHP-DB] Oracle error

2006-02-15 Thread N . A . Morgan
From the manual: ORA-00600 internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string] Cause: This is the generic internal error number for Oracle program exceptions. It indicates that a process has encountered a low-level, unexpected

Re: [PHP-DB] Oracle error

2006-02-15 Thread roy . a . jones
ORA 600 errors are unhandled errors by the DB engine. To find the root cause you need to get the true error message. Check you alert.log file then repost it. It will be something like ora-00600: [ some_code_here ] [ some_number_here ] ... From that we can identify the root cause. To find

[PHP-DB] striping \n or \r

2006-02-15 Thread nikos gatsis
Hello list Does anybody knows how to strip new lines (\n) or \r from a string? I try $lead=str_replace('(0x0D)',' ',str_replace('(0x0A)',' ',$lead)); or $lead=str_replace('\n',' ',str_replace('\r',' ',$lead)); with no results Thank you Nikos -- PHP Database Mailing List

Re: [PHP-DB] striping \n or \r

2006-02-15 Thread Micah Stevens
Use double quotes with \n and \r. On Wednesday 15 February 2006 10:03 am, nikos gatsis wrote: Hello list Does anybody knows how to strip new lines (\n) or \r from a string? I try $lead=str_replace('(0x0D)',' ',str_replace('(0x0A)',' ',$lead)); or $lead=str_replace('\n','

[PHP-DB] re: slow page loading

2006-02-15 Thread JeRRy
snip from ping times: (localhost while ssh'd into the server and ping localhost) 64 bytes from localhost (127.0.0.1): icmp_seq=0 ttl=64 time=0.030 ms 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.024 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.023 ms 64