841 Posted Topics

Member Avatar for niladri.user

Dear Friend, things are actually easy to prevent this: In Function get_temp_urls located in spider.php a sql gets executed. The results of this sql get stored in an Array named $tmp_urls. Limit the SQL results to say 0,100 and your spider will work fine as the Array is kept small. …

Member Avatar for khess
-1
103
Member Avatar for ishlux

You have to create database fields with checkbox names..and update that field with 1,if the check box is checked...

Member Avatar for nav33n
0
75
Member Avatar for Shanti C

hello... Can any one please help me out? I want an image gallery script, where the images are displayed as thumbnails from many subfolders created dynamically and not from database... Please check out this url: [url]http://mig.sourceforge.net/gallery/index.php?currDir=[/url]. And i want to implement my galley in this way.. Please post me any …

Member Avatar for ithelp
-1
133
Member Avatar for ishlux

You just write the piece of code in the starting of page: [code=php] session_start(); [/code] And write the below code where ever you want to store your session variable: [code=php] session_unregister('mysesvar'); session_register('mysesvar'); $_session['mysesvar']=your value; [/code] And retrieve your session variable where ever you want by using this: [code=php] $_session['mysesvar']. [/code]

Member Avatar for Shanti C
0
270
Member Avatar for AnilChowdary

Could you please clean cookie and try again? It may be caused by passport upgrade while your broweser still keep history data in cookie. Thanks, Shanti.

Member Avatar for Shanti C
0
129
Member Avatar for seangdy

Clearly post your thread... Means you want to store the details in database,,and you want to retrieve that.tel me clearly....

Member Avatar for Shanti C
0
71
Member Avatar for littlebears0404

A complete portal with shopping,forums,blogs,date,grooming,newsletters,subscriptions,movie galleries etc This is the best...

Member Avatar for martin5211
0
93
Member Avatar for wdev

Yes,we can write our script code in head tags... And database connection is like this: [code=php] <? global $link; $link = mysql_connect('localhost', 'root', '1234') ; // Connection mysql_select_db("mydb") or die(mysql_error()); // Selection of database //for closing <? if(isset($link)) { mysql_close($link); } ?> ?> [/code] We can write database connection in …

Member Avatar for wdev
0
144
Member Avatar for ishlux

The line you have write is wrong: [code=php]<input type="Checkbox" name="contype" value="B"> <?echo $row['servicet']; //change this line to this: <input type="Checkbox" name="contype" value="<?echo $row['servicet'];"> [/code]

Member Avatar for Shanti C
0
83
Member Avatar for AnilChowdary

Conversion of asp to php is not possible... We just use the logic and implement it in our implementation language...

Member Avatar for nav33n
0
64
Member Avatar for Shanti C

I heard that sql injections are causing to our databases by spammers... Can anyone please tel me how it is possible ? And very importantly how to escape from sql injections... I expect more answers from you...And Thanks for those ....

Member Avatar for Shanti C
0
287
Member Avatar for ashercharles

hey, when registration is completed,then put a back button with an id of corresponding userid or name...By using that you can retrieve the information form the database... Its simple... Try it...

Member Avatar for Shanti C
0
78
Member Avatar for ishlux

[code=php] Use this script in your php page: <script> function comparision(){ d=document.form1; var total=""; if(!d.c.length){ if(d.c.checked) { d.check_compare.value=d.check_compare.value+d.c.value+','; return true; } else { alert("Please select check Box"); return false; } } for(var i=0; i < d.c.length; i++){ if(d.c[i].checked) { total +=d.c[i].value + "\n"; d.check_compare.value=d.check_compare.value+d.c[i].value+','; } } if(d.check_compare.value=="") { alert("Please select …

Member Avatar for Shanti C
0
280
Member Avatar for Shanti C

I have printed questions on faq.php... when click on that question it will go to faqview.php In that faqview.php , i want to print my previous viewd question... Can any one help me out... Help is urgent... Thanks..

Member Avatar for Shanti C
0
121
Member Avatar for AnilChowdary
Member Avatar for Shanti C
0
60
Member Avatar for vicky_rawat

First you have contact with paypal payment gate way.. Then they will provide with some variables.. Then nothing to do: We just send them(to paypal) with user card number and amount and some vars if required.. Then they will send back our request with info.. then you will indicate that …

Member Avatar for Shanti C
0
240
Member Avatar for besart

Yes,Nav's answer is damn right... Better to provide many accounts from one computer... And try sessions also,if you want to store more user data like nick name etc... Thnks..

Member Avatar for R0bb0b
0
103
Member Avatar for OmniX

Hey... I tried this ,its working fine... I think you have mistaken at last line ,means you have write the column name with out $. [code=php] function q($a) { return mysql_query($a); } function a($b) { return mysql_fetch_assoc($b); } $abc="select * from user"; $bcd = q($abc); $cde = a($bcd); echo $cde['uname']; …

Member Avatar for somedude3488
0
168
Member Avatar for god720

In php,it will be done by using mail function and retrieve the values by $_POST.

Member Avatar for Shanti C
0
92
Member Avatar for ishlux

The Code above is not in the correct meaning: Means: The php script will execute first... So if($_POST['category'] == "services") ,this line is selected by user, so u will get this error: Notice: Undefined variable: result in E:\web\forumsnetwork\frontend\saneg.php on line 7 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL …

Member Avatar for ishlux
0
85
Member Avatar for johnvanderjagt

Then first insert into table which fields you want...and then use update query to insert other fields by using any one id which we previously inserted.. provide your table with default entry(if int with 0,if varchar with no,if text dont specify any).. Then you will get the task what you …

Member Avatar for Shanti C
0
70
Member Avatar for ishlux

Try this: [code=php] for(var i=0; i < d.c.length; i++){ if(d.c[i].checked) { total +=d.c[i].value + "\n"; d.check_compare.value=d.check_compare.value+d.c[i].value+','; } } if(d.check_compare.value=="") { alert("Please select atleast one check Box"); return false; } [/code] K...

Member Avatar for vicky_rawat
0
87
Member Avatar for Kavitha Butchi

Hello kavitha try this... [code] <? /...database connections... if(!empty($_GET['delid'])){ mysql_query("delete from category WHERE id='".$_GET['delid']."'"); if(!empty($_GET['start'])) { header("location:add_subcategory.php?msg=del&start=".$_GET['start'].""); }else{ header("location:samepage.php?msg=del"); } } ?> //This is in your designing table... <td height="22" align="center" ><a href="javascript:del('<? echo $frow['id'];?>')">Delete</a> </td> //and this can be anyware in your page <script language="javascript"> var d = document.frmmngmall; …

Member Avatar for Kavitha Butchi
0
538
Member Avatar for allena

Yes..virtual communities have their own best benifits... But frequent Updation is needed...Then u will get more members ,more traffic...But mind hardwork and patiency are which we should have too.......

Member Avatar for Shanti C
0
82
Member Avatar for adaykin

Hello.. you just delete the below line...which is before your while loop.. $row = mysql_fetch_row($result); Then it will work fine...

Member Avatar for antwan1986
0
231
Member Avatar for php_azar

I think so... You make onSubmit() in your submit button... or You can use an onclick and use the form.submit() function though. This is for checking submit button is working or not.. if(@$_POST['Submit']) { or or try using header("location:abc.php?username=xyz"); You have to make your header() calls before your script outputs …

Member Avatar for R0bb0b
0
96
Member Avatar for tanha

k.. I think u hav to use the seesion registrstion in your first page means in register.php .Then you can retrieve those session variables in the page where ever u want.. Thanks.

Member Avatar for tanha
0
118
Member Avatar for ishlux

I think you have to restrict the select condition by using where clause based on your service_category.. try this: [code] <html> <head><title>auto alto system</title></head> <body> <table> <tr> <td> category</td> <td><select name="category"> <option value="sercategory">service category</option> <option value="servicetype">service type</option> <option value="services">services</option> </select></td> </tr> </table> <?php include 'database.php'; $result = mysql_query("SELECT * FROM …

Member Avatar for ishlux
0
131
Member Avatar for mahendravarma

So many tips are there and so much hard work has to do... Then only we will achieve it.. Some tips are: 1.Make your site to look gud and better.. 2.Try to sit end user in your site for some time by adding some interesting messages with good desiging.. 3.include …

Member Avatar for x3mario
0
103
Member Avatar for Rockout101

The way is: You have to design the login page with two text boxes and then retrieve them and compare them with select statement with your database.. Then if it is ok ,navigate to another page like welcome.php... Its very simple ,try....

Member Avatar for cwarn23
0
105
Member Avatar for OmniX

phpbb.com is the best try to implement your self,its not very difficult.. Im on the way same...

Member Avatar for Shanti C
0
61
Member Avatar for shadowrider

your question is not clear... In my view, you have to use iframe to add message board...

Member Avatar for Designer_101
0
81
Member Avatar for seangdy

Try this code, it will work better... But we can insert image into a folder and That path will be saved into database table.. check it once.. <? include('connection.php'); if($_SERVER=='POST') { $dupcnt=getdata("products","count(*)","prcode='".$_POST."'"); $dupcnt2=getdata("products","count(*)","prname='".$_POST."' && catid='".$_POST."'"); if($dupcnt>0 && $dupcnt2>0){ $err="Product With this Name and code already existed."; } else if($dupcnt>0){ $err="Product …

Member Avatar for casper_wang
0
145
Member Avatar for harinatt
Member Avatar for Shanti C
0
83
Member Avatar for punithapary

core php means the foundamentals of php ,means that the first implementation of php,...now the new versions are coming like php5...So the first implementation becomes core php... k.....

Member Avatar for Shanti C
0
83
Member Avatar for chriscapetown

I have put it in <> where the error is: in the last line ' is not needed.check it. $message = 'Cape Town Alive - Cape Xtreme Booking Request' . 'Name:' . cleanPosUrl($_POST['posName']); . 'Email:' . cleanPosUrl($_POST['posEmail']); . 'Staying:' . cleanPosUrl($_POST['posStaying']); . 'Country:' . cleanPosUrl($_POST['posCountry']); . 'Contact:' . cleanPosUrl($_POST['posContact']); . …

Member Avatar for nav33n
0
70
Member Avatar for Shanti C

I want to expire login details after some days.. Can any one help me any short code to this thread in php... I have the registered date of particular member in my database.. Thanks.

0
67
Member Avatar for ishlux

Helloo.. Put echo to your insert query and then copy and paste the output query into your databse,then you will find where will be your error placed.. I think its very small to recover.. Hope got..

Member Avatar for Shanti C
0
154
Member Avatar for Shanti C

Hello all.. Plz look at my thread... I have a date field in my data base table.. And i want to increment that date coming from database table.. Can any one help me please... Thanks... Shanti.

Member Avatar for Shanti C
-1
91
Member Avatar for ishlux

Hello.. Use this code in your page with your database names... you will get what you want.. <? session_start(); include('functions.php'); if($_SERVER=="POST"){ $qer="select * from admin where username='".$_POST."' and password='".$_POST."'"; $res=mysql_query($qer); $num=mysql_num_rows($res); if($num==0) { $msg=1; } else if($num==1) { session_unregister("user_name"); session_register("user_name"); $_SESSION=$_POST; session_unregister("adminid"); session_register("adminid"); $_SESSION=getdata("admin","id","username='".$_POST."' and password='".$_POST."'"); echo'<script language="javascript">window.location.href="welcome.php";</script>'; } } …

Member Avatar for ditty
0
155
Member Avatar for Rakesh Nagekar

Hello.. When ever you click on the addtocart button,the product id will redirect to the addtocart.php page.. And there, we are creating a temp_ses var with random number and ref_id with (our code like BNB and one increment value like 1212) ,then we are going to insert the whole variables …

Member Avatar for Shanti C
0
71

The End.