| Thread | Last Post | Replies |
|
| following radio & hidden does not work..... help please. | 31 May 2008 23:43 GMT | 6 |
using the following code with a problem.... echo "<input type='hidden' name='member_id' value=\"{$row[0]}\">{$row[0]}"; echo "<input type='radio' name='member_name' value=\"{$row[1]}\">{$row[1]}<br />";
|
| Creating a simple hitcounter for PHP web pages. (saves to files) | 31 May 2008 21:53 GMT | 11 |
To make this work on a single page you will need to create/modify 4 files. So here goes... Create a file called counter.php and put following code in it:
|
| cookies problem | 31 May 2008 21:50 GMT | 6 |
Hello i have deficulty to deal with cookies in PHP my website is http://kal.am cookies not working and when i tried to print session array i got the following strange output:
|
| Where is the email address? | 31 May 2008 21:32 GMT | 4 |
I did a simple mail script to forward a form submitted email address. The email address is passed to the subject and message fields. When I get the email, the email address field is blank. I can't seem to find what's wrong. I'm hoping an experienced pair of eyes might see ...
|
| Interactive mode not very useful | 31 May 2008 18:14 GMT | 3 |
I'm running PHP 5.2.6 on WindowsXP. When I try interactive mode with ">php -a" the slightest syntax error throws me out of the interpreter and back to the command line. This is not very useful. Isn't there a way to stay in interactive mode after a syntax error?
|
| Feedback wanted: new PHP template engine | 31 May 2008 18:09 GMT | 14 |
The last few months I've worked on making a template engine because the ones out there didn't serve my needs. I guess everybody knows Smarty and has an opinion on it; I like many things about it, but dislike many others. The thing I made is called 'Farty' (sorry, I suck
|
| include 'filename.php' vs. exit 'whatever' | 31 May 2008 12:59 GMT | 12 |
To quote from <http://php.net/function.include>, "Because include() is a special language construct, parentheses are not needed around its argument. Take care when comparing return value."
|
| image gallery help | 31 May 2008 12:47 GMT | 1 |
I'm trying to build a image gallery script and i'm a clueless noob at php. I've set the mysql settings to binary and and used the file comand on the up load form. but it wont display the photo when I come to display the db contents. I'm using adobes dreamweave development toolbox ...
|
| Big leap - using web services | 31 May 2008 05:55 GMT | 4 |
I'm ready to take a big leap forward. Where can I read up on using Web Services with PHP? What I want to do is to write a simple application using the Prosper API (http://www.prosper.com/tools/) to extract some data from that
|
| SQL Buddy - decent replacement for phpMyAdmin | 31 May 2008 03:30 GMT | 6 |
If you are tired of using phpMyAdmin, I built an application specifically for people like you! Try it out, its available on the interwebs at http://www.sqlbuddy.com/ Calvin
|
| How to live without "register_globals = On" | 31 May 2008 02:31 GMT | 9 |
I have a set of PHP pages where the authors used "global" variable features. For example, if the address line in the browser reads:- http://www.mysite.com/abc.php?PageID=fred Then in the PHP code, the author simply refers to $PageID ...... until
|
| Issues with strpos | 31 May 2008 02:07 GMT | 2 |
Not quite sure what's happening here, the docs for strpos() say: "Returns the position as an integer. If needle is not found, strpos() will return boolean FALSE." Looks fine, I can simply do:
|
| GD, IMagick and Chinese words in utf-8 | 31 May 2008 01:16 GMT | 4 |
I have a problem with Chinese words coded in utf-8. I need to display Chinese marks/words with use of GD or IMagick libs. Chinese text that I need to display is written as plain text in .txt file. I'm not pasting that text inside code. When I'm using only read
|
| how to invoke ReflectionMethod and pass variable by reference as argument? | 31 May 2008 00:32 GMT | 5 |
This code fails: class K2 { public function increment(&$obj) { $obj += 1;
|
| how to check whether the page is the last page? | 30 May 2008 18:58 GMT | 12 |
There are 10 webpages on the host, e.g. 001.html, 002.html, 003,html, 004.html, ......010.html I want to check whether the page is the last page. How can I do. In the index.html
|