hi i am new user i want aske u all?!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
osama
Forum Newbie
Posts: 3
Joined: Thu Sep 26, 2002 7:45 am

hi i am new user i want aske u all?!!

Post by osama »

hi all
i new user i can not write in E- good
i want aske u some Q-
1-i have netwok in computer 1 install phptraid and using php and made some scripts how i see scripts in anther coputers
i am write ip of computer 1 in computer 2 in explorer i see index doc- of phptraid but i can not see another scripts
2-
how use mail function in localhot i need STMP server where is it for win2000 ?
3-
in use mail fun- how i know the e-mail address is valid or invalid?
4-how sed data to file without using form]
5-in the end and i am sorry for long i have table for cateds i wnt view date 2cated in 1 line see code thanks

Code: Select all

<? 
include("config.php"); 
$line=2; 
$ll=0; 
$Query = "SELECT * FROM cated"; 
$result = mysql_db_query($dbname, $Query, $ww); 
$num=mysql_numrows($result); 
for ( $i=0 ; $i <=$num-1 ; $i=$i+1) 
&#123; 

$op=mysql_result($result,$i,"catname"); 
$val=mysql_result($result,$i,"cat"); 
$va2=mysql_result($result,$i,"cat2"); 
if( $va2==0)&#123; 
$co=$ll%2; 
if($ll==0 ) 
echo"<TR><font size='5' color='#0000FF'>$op</font></TR>"; 
else if($co!=0) 
echo"<TR><font size='5' color='#0000FF'>$op</font></TR>"; 
else 
echo"<TR><p><font size='5' color='#0000FF'>$op</font></p></TR>"; 
$ll=$ll+1; 
$Query2= "SELECT * FROM cated where cat2=$val"; 
$result2= mysql_db_query($dbname, $Query2, $ww); 
$num2=mysql_numrows($result2); 
for ( $i2=0 ; $i2 <=$num2-1 ; $i2=$i2+1) 
&#123; 
$op3=mysql_result($result2,$i2,"catname"); 
echo " 
<font color='#FF0000' size='3'>$op3*</font>" 
; 
&#125; 

&#125; 
&#125; 

?>
osama
Forum Newbie
Posts: 3
Joined: Thu Sep 26, 2002 7:45 am

Post by osama »

bump
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

1. COMPUTERIP/FILENAME (e.g. 123.231.232/file.php)
2. Search Google for "Free SMTP server software"
3. Use Regular Expression - http://www.phpbuilder.com/columns/dario19990616.php34.

Code: Select all

&lt;?php
echo $_POST&#1111;'textbox'];  //prints out the text in the input textbox...
//If you have PHP4.1+ use above code if not use...
echo $HTTP_POST_VARS&#1111;'textbox'];
//:D
?&gt;
5. Recommendation - use mysql_fetch_array instead of mysql_result
osama
Forum Newbie
Posts: 3
Joined: Thu Sep 26, 2002 7:45 am

Post by osama »

:D :D :D
thnke u dear Takuma
in:1 yes right
but first time not worke but it work after change internet seting
thnkes agin
Post Reply