Search found 5 matches

by grace01
Mon Sep 24, 2007 10:45 pm
Forum: PHP - Code
Topic: PHP webpage not responding
Replies: 0
Views: 228

PHP webpage not responding

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] My php pr...
by grace01
Tue Sep 18, 2007 2:56 am
Forum: PHP - Code
Topic: Failed to connect to mail server
Replies: 1
Views: 731

Failed to connect to mail server

My php program can send mail on php 5. But some of other php programs cannot work on php 5, so I switch to php 4. Now my php program cannot send mail. I use remote smpt server to send mail. I got error: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25...
by grace01
Thu Sep 13, 2007 3:48 am
Forum: PHP - Code
Topic: Fatal error: Using $this when not in object context
Replies: 2
Views: 270

Fatal error: Using $this when not in object context

Hello, When I run my php code follow: function log_event($event_type,$event) { $this->config = new inifile($_SERVER["DOCUMENT_ROOT"]."/config/default_config.ini"); $this->log_path = $this->config->read_var("MAIN","log_path"); if (!is_dir($this->log_path.date(&...
by grace01
Thu Sep 13, 2007 3:18 am
Forum: PHP - Code
Topic: Array results are not displayed incorrectly
Replies: 1
Views: 172

Array results are not displayed incorrectly

Hello, My php program cannot display result correctly. After run array_push($y_options,$tmp_yr), $y_options doesn't show 2005, 2006, 2007, 2008, 2009. $y_options only show 2009, 2009, 2009, 2009, 2009. Same for $m_options. It only show December rather than January to December. My source code is as f...
by grace01
Wed Sep 05, 2007 4:10 am
Forum: PHP - Code
Topic: array_push problem
Replies: 3
Views: 429

array_push problem

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hello, I ...