|
- How do I set PHP include_path?
- There are at least 2 ways you can set your PHP include_path. Edit your /etc/php.ini file. Inside that file is a directive section for Paths and Directories. By default it is set to .:/usr/local/lib/php. You can change that value to whatever you like...
- Author:Time:2008-05-26 14:37:34 Hits:2 Comment:0 View Article...
- register_globals on?
- Should I turn on register_globals in the php.ini? No, you should definitely not do this. Besides it being a huge security risk , register_globals also makes you lazy. Make sure register_globals are turned off, and if you cannot turn them off because...
- Author:Time:2008-05-24 18:26:48 Hits:1 Comment:0 View Article...
- PHP how to use cookies?
- PHP how to use cookies? setcookie(cookie_name,$ccdotvalues,time()+(3600*24*30)); echo$_COOKIE[cookie_name]; Or use Set-Cookie header output can also be created. Clear time: setCookie('cookie_name');//ookies expired or to change to the present day...
- Author:Time:2008-05-17 18:01:40 Hits:2 Comment:0 View Article...
- Why can not we get PHP form variables?
- If we use PHP4.2 version or above, click here. Set register_globals = on or By adding the following code: // allow script to work with registerglobals off if ( function_exists('ini_get') ) { $onoff = ini_get('register_globals'); } else { $onoff = get...
- Author:Time:2008-05-11 00:44:05 Hits:0 Comment:0 View Article...
- PHP installation problems
- 1. Unix / Windows: my php.ini file should be placed on what UNIX default under it should be placed on / usr / local / lib directory. This is the install-path / lib. Many people will be compiled to change it, use - with-config-file-path signs. For exa...
- Author:Time:2008-05-03 11:47:27 Hits:2 Comment:0 View Article...
- What is PHTML ? Is it the same thing as PHP ?
- Web servers, such as apache, allow us to define our own extensions. Some people (not many) choose to run their PHP files via the .phtml extension. It's typical to see .php and .php3 For apache, you'll want to load httpd.conf and find/edit a line in...
- Author:Time:2008-04-28 11:34:51 Hits:11 Comment:0 View Article...
- Frequently Asked Questions
- What is PHP-GTK? Why is it not working with the browser/web server? How do I install PHP-GTK on Win32? How do I use the buttons in GtkFileSelection? How do I know which GTK Classes are supported? Can I use Themes under Win32? Where do I go from here...
- Author:Time:2008-04-20 15:29:22 Hits:9 Comment:0 View Article...
- Sending HTML email with PHP
- Code: ? php require(class.phpmailer. php ); require(class.smtp. php ); class MyMailer extends PHPMailer { public $From = form-results@google; public $FromName = Google.com; public $Host = mail.google; public $Hostname = google; public $Mailer = smtp...
- Author:Time:2008-04-20 15:26:41 Hits:2 Comment:0 View Article...
|
Copyright 2008 The PHPsu
All rights reserved.
This mirror generously provided by: .Hp Inc. ICP:08000822
Last updated: Fri Jun 6 18:18:12 GMT-8 2008