Search found 106 matches
- Thu Nov 15, 2007 2:51 pm
- Forum: PHP - Code
- Topic: Rapid PHP Development tool that is lightweight?
- Replies: 4
- Views: 673
Rapid PHP Development tool that is lightweight?
Hi all, I haven't been writing PHP for a while and recently got back into the scene. I remembered having to write code for login, authentication, session, cookies and most annoying of all, a dynamic page rendering model. I am wondering if there are any suite of pre-written PHP libraries for mundane ...
- Sat Jul 21, 2007 10:50 am
- Forum: PHP - Code
- Topic: Creating a HTML log -- closing the table and html tag
- Replies: 5
- Views: 928
There is a database back-end, but the client is requesting one which he can just donwload from the FTP server. I have shown him how to export the backend tables as excel, but apparently not good enough for his purpose. Also, there are some other transactions info which are not stored in the DB but h...
- Sat Jul 21, 2007 10:10 am
- Forum: PHP - Code
- Topic: Creating a HTML log -- closing the table and html tag
- Replies: 5
- Views: 928
Creating a HTML log -- closing the table and html tag
Hi all, I am currently doing a HTML log of daily transactions of an e-commerce website. I have to add transactions as a row to a table. Now I am stuck on how I do insert into the middle of the log file, just before the the closing </table></html> tag. I was thinking of truncating the file to remove ...
- Tue Feb 14, 2006 10:35 pm
- Forum: General Discussion
- Topic: Compiling PHP to a Windows EXE
- Replies: 7
- Views: 1466
- Fri Dec 23, 2005 11:17 am
- Forum: Databases
- Topic: Sorting problem. Need to know sorting order of a record
- Replies: 2
- Views: 811
- Fri Dec 23, 2005 1:17 am
- Forum: Databases
- Topic: Sorting problem. Need to know sorting order of a record
- Replies: 2
- Views: 811
Sorting problem. Need to know sorting order of a record
Hi all, I am developing a mini-game, in which the results will be stored in a database. I need to display the player's score, showing him where he ranks. For instance, if the player is ranked as the 10th position, then I will need to show the score for the 5th position to 15th position. I could simp...
- Wed Sep 15, 2004 11:40 am
- Forum: PHP - Code
- Topic: Detecting a bounce-back email with PHP
- Replies: 1
- Views: 647
Detecting a bounce-back email with PHP
Suppose I send an email with the mail() function, and wishes to keep track of which emails has been bouncing. Is this doable through PHP?
- Sun Aug 08, 2004 10:06 pm
- Forum: PHP - Code
- Topic: Argh - Appending to $_GET query across the board
- Replies: 2
- Views: 812
Argh - Appending to $_GET query across the board
Hi, The gist of my problem is. I have been writing code that uses the a variable in the GET query to determine which action to take, eg: switch ($_GETї"action"]; At the last moment, the client wanted me to add in something new (don't they always?) Basicially, it means appending a...
- Sun Aug 08, 2004 10:01 pm
- Forum: PHP - Code
- Topic: Disappearing $GLOBALS scope
- Replies: 1
- Views: 674
Disappearing $GLOBALS scope
Global variables just refuse to work. This is the first time I am coming across this... a.php class a { // imagine some code her } $g_a = new a(); b.php print_r($GLOBALS) // -- їb]BOOKMARK 1ї/b] class b { function printA() { global $g_a; print_...
- Thu Jun 17, 2004 8:11 am
- Forum: Installation and Configuration
- Topic: Local-host apache and FTP
- Replies: 1
- Views: 4085
Local-host apache and FTP
Hi all,
I am currently trying out the ftp_connect() and other such functions on my local-host. But how do I create a FTP account with apache to work with?
I am currently trying out the ftp_connect() and other such functions on my local-host. But how do I create a FTP account with apache to work with?
- Sat May 29, 2004 1:32 pm
- Forum: Installation and Configuration
- Topic: Internet Information System cannot display images?
- Replies: 1
- Views: 4361
Internet Information System cannot display images?
Hi all, I just changed from PWS to IIS 5.1 (major computer upgrade) and realises that all web pages served with IIS does not have any graphics rendered. Eve the default start page seemingly cannot render the GIF files in the web page even though the path is correct. What's going on? How can I fix th...
- Sat May 29, 2004 11:36 am
- Forum: Databases
- Topic: using mysql 4.1 with iis 5.1 with PHP
- Replies: 0
- Views: 627
using mysql 4.1 with iis 5.1 with PHP
Help ~ I have been trying to get MySQL 4.1 to work with IIS 5.1 (for PHP) for the past four hours and am getting nowhere. Whether I try running mysqladmin, I get: MYSQLADMIN: cannont connect to the server at 'localhost' And mysql_connect yields "cannot create a link" and "cannot conne...
- Mon Mar 15, 2004 8:11 am
- Forum: PHP - Code
- Topic: What is the point of references in a new statement?
- Replies: 2
- Views: 940
Copy of the object...?
Wait a sec, I still don't get it. If I want a new instance of class, why would I want a reference to the class? Unless if you meant by copy, you are saying that PHP creates two copies whenver I use "$c = new classC();", one which is $c, and another one which is "new classC()" ?
- Sun Mar 14, 2004 5:28 am
- Forum: PHP - Code
- Topic: What is the point of references in a new statement?
- Replies: 2
- Views: 940
What is the point of references in a new statement?
Example:
How is it different from:
Read the docs on references...I still feel...kind of lost.
Code: Select all
class foobar() { ... }
$aFooBar = & new foobar();Code: Select all
$aFooBAr = new foobar();- Sun Mar 14, 2004 5:14 am
- Forum: PHP - Code
- Topic: Is this a valid PHP function call?
- Replies: 2
- Views: 694