Search found 25 matches

by Flash05
Mon Jan 05, 2004 1:04 am
Forum: PHP - Code
Topic: MSSQL Server 2000 and PHP
Replies: 1
Views: 411

MSSQL Server 2000 and PHP

Is it possible for PHP to connect to MS SQL Server 2000 and issue select, insert, update, and delete to database/s? If possible, how?

Help... THanks! :D
by Flash05
Mon Dec 29, 2003 1:46 am
Forum: PHP - Code
Topic: Hit counter PHP/iiS
Replies: 4
Views: 473

is there a setting of some sort where it is not allowed to read/write in iiS? Im not sure if it is the problem though i thought of it coz the the file wasnt change during the course... the script only reads it and not change it... help... tnx!
by Flash05
Sun Dec 28, 2003 11:30 pm
Forum: PHP - Code
Topic: Hit counter PHP/iiS
Replies: 4
Views: 473

tnx for the replies... i already changed the counter.dat to counter.txt so that i would be easy to edit... $counter_file = "count.txt"; i tried to put "2" in count.txt and save then refresh the page. The result was 3. but when i opened the file, the 2 there isn't changed though t...
by Flash05
Sun Dec 28, 2003 8:42 pm
Forum: PHP - Code
Topic: Hit counter PHP/iiS
Replies: 4
Views: 473

Hit counter PHP/iiS

Help... I'm using PHP/iiS 5.1. My hit counter doesn't change value whenever I refresh the page... Code: <?php //hit_counter1.php $counter_file = "./count.dat"; if(!($fp = fopen($counter_file, "r"))) die ("Cannot open $counter_file."); $counter = (int) fread($fp, 20); fc...
by Flash05
Thu Dec 18, 2003 9:52 pm
Forum: PHP - Code
Topic: php code in iis/apache
Replies: 17
Views: 2251

Tnx man! Btw, how do i use this:
<?php $test = $_POST['test']; echo "$test" ?> Do i have to declare another block of <? ?> or just include it in the current?

Tnx again for the helP! :D :D :D
by Flash05
Thu Dec 18, 2003 7:41 pm
Forum: PHP - Code
Topic: php code in iis/apache
Replies: 17
Views: 2251

I tried this: ============================================= test.htm <form action="test.php" method="post"> Test: <input type="checkbox" name="test"> <br> <input type="Submit" value="Parse" /> </form> =======================================...
by Flash05
Thu Dec 18, 2003 9:26 am
Forum: PHP - Code
Topic: php code in iis/apache
Replies: 17
Views: 2251

Oops, there additional prob. I already changed the register_globals=on and yet some examples in the book generates that same "notice... blah blah..." What should i do about it? Here's d code: =============car.htm============== <HTML> <HEAD></HEAD> <BODY> <B>Namllu Car Hire Company</B> <FOR...
by Flash05
Thu Dec 18, 2003 7:14 am
Forum: PHP - Code
Topic: php code in iis/apache
Replies: 17
Views: 2251

Tnx Nay for the link. Problem solved! :D :D :D
by Flash05
Thu Dec 18, 2003 6:51 am
Forum: PHP - Code
Topic: php code in iis/apache
Replies: 17
Views: 2251

Im using Wrox - Beginning PHP4. There is no error in the html and php. Im just curious about the error im receiving when im trying it on iis while in apache it works fine. error in iis: Notice: Undefined variable: Salary in c:\inetpub\wwwroot\learningphp\Loan.php on line 9 while in apache: no proble...
by Flash05
Thu Dec 18, 2003 3:16 am
Forum: PHP - Code
Topic: php code in iis/apache
Replies: 17
Views: 2251

php code in iis/apache

im reading a book about php and follow the example. the example was passing of form variable to another form. i ran it and got errors. the variable were not parsed - undefined error... the same code, i tried it in apache and it works well. what could be the reason for this? some example w/c doesn't ...