when i try to send email from asp script i got email bounce from
[email protected]
why this ?
is this some issue with spam or my domain is under spam list ..?
if yes how to remove this..?
i have one database in ms sql server 2005.
i create this long time back, now want to modify it but i lost the password, i remember the user name for that database, is there any way to recover the password for that database or
change its password ?
Thanks
i have one php file which process adding of record in Database fro array.
for example in array i have 5 items
aray an='abc','xyz','ert','wer','oiu'
i want to call one php file in j query ajax method
um = an.split(',');
var counter = 0;
if(counter < uemail.length) {
$("#sending_count").html("Processing Record "+ ecounter +" of " + an.length);
var data = {uid: um[counter]
$.ajax({
type: "POST",
url: "save.php",
data: data,
success: function(html){
echo "added";
counter++;
}
what it do, it complete all the prcess but save.php is still working
what i want after one process it stop untill process of save.php complete then it wait for next 10 sec and start adding of 2nd element.
Thanks
I have one image submit button like this
<input id="enter" name="enter" type="image"
value="Login"
src="images/btn_login.jpg"/>
once i click on this image i got following values
enter.x=39&enter.y=11
but i want to get enter=Login on submit
how to get enter value as login on submit?
Thanks
as we can use facebox as popup.
i want to open this POPUP if user is not active for last 30 min on page.
and if user press close button or close the popup time will be restarted.
i have one php code for button creation
for($i=1;$i<=$n;$i++)
{
$row=mysql_fetch_array($result);
if($row['btn_color']==1)
$btbg="side-button5.png";
if($row['btn_color']==2)
$btbg="side-button6.png";
if($row['btn_color']==3)
$btbg="side-button7.png";
if($row['btn_color']==4)
?>
<br>
<table width="200" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="images/<?php echo $btbg ; ?>" style="background-repeat:no-repeat"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="66">
<div align="center" class="buttonside">
<p>
<a class="buttonside" href="vpa.php?pgid=<?php echo $row['page_id']; ?>">
<?php echo $row['btn_text']?></p>
</a>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php
}
?>
this code is working fine but the link is on text, i want to put link on full button(background)
Thanks
i have one coral draw file and i don't have coral draw software with me.
is this possible to open that file in PSD or convert into PSD or image format.
i search on internet but didn't find any free software or plug in.
Thanks
i have one table in loop which come under li
<?php
for($i=1;$i<=$tc;$i++)
{
$row=mysql_fetch_array($result);
?>
<li style="list-style:none; margin-left:-20px">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="hline" style="width:267px"><?php echo $row['tit'] .",". $row['name'] ?></td>
<td class="vline" style="width:1px"> </td>
<td class="hline" style="width:100px"><?php echo $row['city']; ?></td>
</tr>
</table>
</li>
<?php
}
?>
the out put comes like this
i can't put table outside the loop, due to li sorting
thanks
actually i am looking for some best html editor for my CMS system. witch support (PHP, JQUERY)
i found TinyMCE but it dont have image upload functionality, after i found
phpimage for this but every time i goto
http://sourceforge.net/tracker/?func=detail&aid=2844769&group_id=103281&atid=738747
and click on files, i get normal TinyMCE my question is how to find phpimage to download and configure it.
if you know any other FREE HTML editor with image uplaod let me know.
Thanks
i have windows 2003 server domain environment in my office.
my server ip is: 192.168.1.2
if i put this IP in DNS of my laptop network card my folder SYNC works fine & also internet work fine in office.
but internet did't work in my home for that i need to change DNS again to Auto & internet start working again.
its too difficult to change cause some time i don't have administrative password.
is there any solution to that?
Thanks
is this OK to on the firewall on windows 2003 Domain & DHCP server?
if yes then which ports should be passed from firewall to use full feature of
Active directory domain controller
file & Printer Sharing
DHCP & Dns
thanks
most of times in our pages we need to print only 1 field value of table in loop. for example
<?php
for($i=1;$i<=mysql_num_rows($result);$i++)
{
echo $row['name'];
$sql1="select industry from table_industry where profid='".$row['prof']."'";
$result1=mysql_query($sql1);
$row1=mysql_fetch_array($result1);
echo $row1['industry']; ?>
}
?>
above is one PHP code just for example where we think that $row['prof'] carry value of profession ID and we print profession of each person.
for example we have 5000+ record in table and above loop will execute for 5000+ times
what will be the best way to print value of industry field from table table_industry
Same code which i write above ?
any other php code suggestion for faster execution and less use of resources?
Thanks
i install windows7 ultimate and php 5.3.1 and mysql server 5.1
mysql server work fine from
mysql>
and if see phpinfo();
i get the following table
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $
Persistent cache enabled
put_hits 0
put_misses 0
get_hits 0
get_misses 0
size 2000
free_items 2000
references 2
but when i connect with following php command
$db_host="localhost";
$db_name="mysql";
$db_user="root";
$db_pass="*****";
$dbc=mysql_connect($db_host,$db_user,$db_pass) OR DIE (mysql_error());
$dbs=mysql_select_db($db_name) OR DIE (mysql_error());
when i run page, page take long time in loading and then return nothing.
and if i pass any query it return false, i think its connection problem.
Thanks
i have one image background of table with following syntax
style="background-image(URL)"
the problem is when i print it on printer it did't print.
can you please tell me how to get this
image background also get it printed on paper as watermark.
Thanks
i have one text field and setting its name & values from php
like
<input type="text" id="qtyProductID_' . $productID . '" size="3" value="' . $totalItems . '" >
i also have image button for click event
<a href=fun.php?action=update&productID=' . $productID . ' onClick="return false;"><img src="images/update.jpg" id="updateProductID_' . $productID . '"></a>
now after click in JS file i want to get value of text field i click
var productIDValSplitter = (this.id).split("_");
var productIDVal = productIDValSplitter[1];
var tqty = $('#qtyProductID_'.productIDVal[1]).attr('value');
alert(tqty);
i am getting error
i am looking for how to set the variable name in
$('#qtyProductID_'.productIDVal[1])
Thanks
i have following database table name tbl_rec
recno uid uname points
============================
1 a abc 10
2 b bac 8
3 c cvb 12
4 d aty 13
5 f cyu 9
-------------------------
-------------------------
i have about 5000 records in this table.
i want to select first 50 higher points records.
i can't use limit statement as i am already using limit for paging.
Thanks
Please look at this image
here is 3 tables , and out i want is
uid from table1
industry from table 3 of same uid
count of fid from table 2 of same uid
like in the sample example output will be 2 records
Thanks
i have one js file in that js file i have following variables
var image_path="images";
var style_path="style";
i want to use these variables in html file(s)
like in image statement
<img src="path from js/logo.gif">
or in style sheet statement
<link rel="stylesheet" href="path from js/constant.css" type="text/css" />
Basic idea behind this is: if we change name of image folder or path of image folder we only do change in one JS file not 1000 html files.
same for style sheet.
or any other way to do same in java script or Jquery
Thanks
i have one complete website
which was written in php4, now my hosting server is PHP Version 5.3.2, windows 2008 server
and my site is not working, what i found is old site use following syntax
<?
but if i change it into
<?php
page start working. is there any way to solve this issue...
PHP Version 5.3.2 work with
<?
any script which change all
<? to <?php
in all pages.
Thanks
i have two tables
table1 fields
fid,fname,fage
a ,abc ,20
b ,bcv ,21
c ,cyx ,19
table2 fields
rcno,fid,status
1 ,a ,ok
2 ,c ,ok
3 ,a ,ok
4 ,b ,ok
5 ,a ,ok
i want to display rectors like this
fid from table1 , count(recno) from table 2 and fage from table1
fid,count(recno),fage
a ,3 ,20
b ,2 ,21
c ,1 ,19
i try many sql queries but got error
Thanks
i search online but can't get satisfactory result
i want to protect images on my website, i know i can disable save as, right click.
the real question is can we Disable Clipboard & Print Screen with JQUERY or java script.
so no image copy from print screen.
thanks