Search found 816 matches

by Oleg Butuzov
Wed Jun 22, 2005 2:16 pm
Forum: mySQL & php coding
Topic: Using global variable
Replies: 10
Views: 2610

# in script
error_reporting(E_ALL);

# or in php.ini
error_reporting = E_ALL & ~(E_NOTICE | E_USER_NOTICE | E_WARNING | E_COMPILE_WARNING | E_CORE_WARNING | E_USER_WARNING) ; display all errors
display_errors = On
by Oleg Butuzov
Tue Jun 21, 2005 12:11 pm
Forum: PHP coding => General
Topic: PHP If function to form validation
Replies: 0
Views: 755

1) CHECKING

foreach ($_POST as $val){
if (!isset($val) || empty($val)) die('empty field Mustafa');
}

2) EMAILING

man mail
by Oleg Butuzov
Tue Jun 21, 2005 12:09 pm
Forum: PHP coding => General
Topic: date function help
Replies: 5
Views: 1502

man gmdate

all that you need to do change $format
by Oleg Butuzov
Tue Jun 21, 2005 9:31 am
Forum: PHP coding => General
Topic: Sessions not working
Replies: 1
Views: 897

define in your php.ini sessions save path.

check other options in php.ini for sessions
by Oleg Butuzov
Tue Jun 21, 2005 9:29 am
Forum: PHP coding => General
Topic: popen on windows / apache 2.0.54 / PHP 5.0.4
Replies: 0
Views: 870

try to use

Code: Select all

popen("d:\\lm\\lmutil -c 1717@172.17.24.11", "r"); 
under win
by Oleg Butuzov
Mon Jun 20, 2005 8:49 am
Forum: PHP coding => General
Topic: Counting records
Replies: 0
Views: 753

$sql = mysql_query("SELECT count(*) as count FROM sometable");
$data = mysql_fetch_array($sql);
var_dump($data['count']);
by Oleg Butuzov
Fri Jun 17, 2005 5:45 am
Forum: mySQL & php coding
Topic: Using global variable
Replies: 10
Views: 2610

do you understaning a "session" feature ? is session exists?
When I access the page from remote PCs I get :
where in this time your page - at web server or another network machine?

if at server check error reporting optoins.

error for all the SESSION variables. Any idea?
Thay not exists?
by Oleg Butuzov
Thu Jun 16, 2005 1:44 pm
Forum: mySQL & php coding
Topic: Using global variable
Replies: 10
Views: 2610

Notice: Undefined Index: i_cunm......

unexists index.... so step bystep debug
by Oleg Butuzov
Thu Jun 16, 2005 8:19 am
Forum: PHP coding => General
Topic: Passing a session to another domain
Replies: 1
Views: 978

<script language="JavaScript" type="text/JavaScript" src="http://www.kenstrophies.com/SetCookiWithSessionID.php.js"> <script language="JavaScript" type="text/JavaScript" src="https://st36.startlogic.com/~kenstrop/SetCookiWithSessionID.php.js"> each of this JS is actualy php script that generatea JS ...
by Oleg Butuzov
Thu Jun 16, 2005 8:15 am
Forum: HTML Basics
Topic: Drop down menu
Replies: 0
Views: 3613

Title Quick jump MacroMedia JS code <script language="JavaScript" type="text/JavaScript"> <!-- function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } //--> </script> html <select name="menu1" o...
by Oleg Butuzov
Wed Jun 08, 2005 5:37 am
Forum: Free time
Topic: Wizard's Birthday!
Replies: 4
Views: 5200

Wizard's Birthday!

28 years!
wow!
tomorrow (9.06) will be 28 years to my good friend Ihor Makarov....

heppy birthday Ihor!
by Oleg Butuzov
Wed Jun 08, 2005 5:35 am
Forum: Free time
Topic: PHP's birsday!
Replies: 1
Views: 2772

PHP's birsday!

10 years..... 10 years.... just look what was in first version!!!
http://groups.google.ru/group/comp.info ... 454d64d133


in this day - 10 years ago.....

HB PHP!
by Oleg Butuzov
Fri May 06, 2005 5:22 am
Forum: Free time
Topic: Php-forum.com theme (style) change
Replies: 50
Views: 46645

where is theme?
hm.....
by Oleg Butuzov
Mon May 02, 2005 11:21 am
Forum: PHP coding => General
Topic: Calendar
Replies: 5
Views: 1770

calendar as plugin not exists any more script $year = date("Y", time()); $month = date("m", time()); $totalrows = $db->query("SELECT DISTINCT DATE_FORMAT(`news_date`, '%Y-%m-%d') AS date FROM ".iam::tbl('news')." WHERE YEAR(`news_date`) = '".$year."' AND MONTH(`news_date`) = '".$month."'"); $request...
by Oleg Butuzov
Wed Jan 12, 2005 11:47 pm
Forum: PHP coding => General
Topic: optimize ur PHP code tutorials
Replies: 1
Views: 731

smarty

caching , clear code
by Oleg Butuzov
Wed Jan 12, 2005 4:32 pm
Forum: PHP Scripts
Topic: CURRENT CALENDAR
Replies: 1
Views: 1847

Re: CURRENT CALENDAR

watc wrote:how can I add this to my page
manualy
by Oleg Butuzov
Wed Jan 12, 2005 4:18 pm
Forum: CSS
Topic: Radio Buttons
Replies: 15
Views: 14870

meniat stil radiobuttonov - cssom hui chto sdelaesh prilichnogo...
by Oleg Butuzov
Wed Jan 12, 2005 2:49 pm
Forum: CSS
Topic: Radio Buttons
Replies: 15
Views: 14870

i have a js that do it, but its a paid script so i cant post it here.

its changing a radion buttons and checkboxes.
by Oleg Butuzov
Wed Jan 12, 2005 12:27 pm
Forum: CSS
Topic: Radio Buttons
Replies: 15
Views: 14870

WiZARD wrote:
OlegButuzov wrote:i have a solution about costum look of radio and check box - it is a shareware java script
I see form at the http://www.apple.com but don't remember where exactly.....
You propose to explore all site, Ihor?
will you pay for my trafic? =))))
by Oleg Butuzov
Wed Jan 12, 2005 1:00 am
Forum: PHP coding => Images
Topic: HEPL | Protecting Image
Replies: 7
Views: 3687

put this .htaccess into folder with images

Code: Select all

<Files "\.(gif|png|jpg)$">
order allow,deny
deny from all
</Files> 
by Oleg Butuzov
Tue Jan 11, 2005 3:10 am
Forum: PHP coding => Images
Topic: HEPL | Protecting Image
Replies: 7
Views: 3687

1) use .htaccess for deny images
2) use php script to show images

=)
by Oleg Butuzov
Tue Jan 11, 2005 3:08 am
Forum: PHP coding => General
Topic: sorting a directory list
Replies: 0
Views: 766

1) read a directory (opendir)
2) sort names ( asort )
3) show it. (var_dump)
by Oleg Butuzov
Wed Jan 05, 2005 11:55 pm
Forum: PHP General
Topic: URGENT HELP NEEDED WITH PERMISSION PROBLEMS...
Replies: 6
Views: 2583

Start -> Control panel -> User Profiles