> $cfg['hostname'] = "www.server.com"; // Server domain or ip address
> $cfg['username'] = "username";// Database user name
> $cfg['password'] = "password";// Database password
> $cfg['bugemail'] = "[EMAIL PROTECTED]";
>
> Then do something like this:
>
> function database_conne
Hi, John!
There is an easy way to achieve what you are looking for without modifying
webserver configuration files.
Say you want to support an URL like http://www.example.com/search?foo=bar
Create a new subdirectory named "search" and place a default PHP script
named index.php in the new direct
Patrik,
to split an uploaded image, I suggest you use "pamdice" which is one
of the programs in the Netpbm toolkit. You can read all about Netpbm
here: http://netpbm.sourceforge.net/.
---
Geir Pedersen
http://www.activio.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Terence,
do a search for "php coding standard" in Google and you'll find
documents describing coding guidlines suitable for projects.
---
Geir Pedersen
http://www.activio.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matt,
this is not a direct answer to your question, more a tip on how
you design your database: You should avoid storing the same
information twice. You only risk inconsistencies. In your case
I suggest you compute the textual ID from the primary key value
using the PHP sprintf function whenever
Justin,
> Is Zend Optimiser (required to run encoded PHP files) part of
> a base installation, or at the very least, is it widely spread
> in use (available on most hosts)?
>From looking around earlier my impression is that most good commercial
web hosting providers have the Zend Optimiser ins
6 matches
Mail list logo