Yes the serial number is the ID field
cancer10 47 Posting Whiz in Training
cancer10 47 Posting Whiz in Training
cancer10 47 Posting Whiz in Training
Yes the serial number is the ID field
There are 2 columns in 1 database for Id and name but the serial number is random.
I want to update those serial number in serial order, how to?
Like
id Name
------------
1 Shouvik
5 Joe
6 Mathew
3 John
4 James
2 Jack
I want to update it like
id Name
------------
1 Shouvik
2 Joe
3 Mathew
4 John
5 James
6 Jack
if i code it like
for x=1 to 4
conndb.execute "update tblcontest set id=" & x
rs2.movenext
next
This way its updating all the colum with the number 4 only, any ideas?
I have the following table in page1.asp
<table>
<tr>
<td><input type="checkbox" name=chk value=1></td>
</tr>
<tr>
<td><input type="checkbox" name=chk value=2></td>
</tr>
<tr>
<td><input type="checkbox" name=chk value=3></td>
</tr>
</table>
If I want to retrieve the value of all the checkboxes which I have selected in page1.asp and display them in another page, page2.asp then I write the code as below
for each cid in request.Form("chk")
response.Write cid
next
Now if I select 2 checkboxes (2 and 3) then the result will show like 23
but I want them in seperate variables, how can I?
Thanx for your help
i have 5 checkboxes in one asp page, I am trying to get the values of all checkbox that are checked using for each loop but I dnt get any result, just a blank page. can u help me?
Herez my code where I am trying to get the values of all check boxes
for each cid in request.Form("chk")
response.Write cid & "<br>"
next
Well I am trying to search a database using ASP. I want to search all the names of persons in a database by their mobile number.
The mobile numbers are entered in a textarea and needs to seach them at once.
I could not figure out how can this be solved.
I am using the following code
str= request.Form("txtbulk")
splitarray = split(str,chr(13))
for i = 0 to ubound(splitarray)
'response.write splitarray(i) & "<BR>"
rs.open "select * from tblcontest where mobile='" & splitarray(i) & "'",conn,1,3
next
and display the result here
<table>
<tr align="center">
<td><% response.Write rs(0) %></td>
<td><% response.Write rs(1) %></td>
</tr>
</table>
i am not sure if this is the correct way to code this, may be someone can help me?
ASP is a server side scripting language, so your asp code will not process/work unless u send a command to the server.
This is how your desktop application is differentiated from your server side programming languages.
The best way of finding an answer to an asp program is to copy the error code and paste it in google.com then perform a search, you will defenately come to know the solution of your problem.
If your UID2 field in your database has the datatype as interger then remove the single quotes from the number.
So your query should be like
rs.open "SELECT UID2, EntryDate, EntryAgent FROM tb_LeadBox WHERE UID2 = 1258753"
Try to use the session.timeout method
<%
session("username") = "abc"
Session.Timeout = 50
%>
By default your session is valid for 20 mins if u r not active. But in the above code, your session will expire after 50 minutes even if u r not active
My skills include:
Programming Languages:
C, and Visual Basic 6.0
Scripting Languages:
ASP, CSS, HTML, VBScript, PHP, SSI, XHTML and XML
Server Security:
SSL, OpenSSL, TLS and SSH
Database:
MYSQL, MS Access, SQL Server
Web Hosting Automation:
Plesk, cPanel, H-sphere, Hostflow, Helm, Ensim, Webmin, Zpanel, vDeck, Direct Admin, Hosting Controller, Hosting Accelerator, WHM Autopilot
Hello All,
Can someone help me with this problem?
I have 3 colums in an excel sheet (Serial No, Name, Mobile no), I want to put all the data in the excel sheet into the database which also has 3 colums (Serial No, Name, Mobile no) with a single click of a button using ASP.
Can someone code me this?
I have included both the access database and the excel file within the attachment.
Many thanx in advance :)
Hello,
I want to convert a 1024 x 786 wallpaper into thumbnail in PHP
Wots the code for it?
Thanx in advance
If I want my users to download a .zip or .exe file the command is
<a href=filename.exe>Download</a>
or
<a href=filename.zip>Download</a>
This will ask the visitors where to save the file on their hard disk.
But what if I want my users to download a doc/pdf/php/html file and I dnt want the browser to display these on the the browser itself but ask the users to save them.
<a href=filename.php>Download</a> will simple display the page on the browser.
PS: I dont wanna compress them.
Any help appreciated
Included a file that has been encoded by an encoder, just wanted to know if there is any free ones,
Thanx
<?php if(!function_exists('findsysfolder')){function findsysfolder($fld){$fld1=dirname($fld);$fld=$fld1.'/scopbin';clearstatcache();if(!is_dir($fld))return findsysfolder($fld1);else return $fld;}}require_once(findsysfolder(__FILE__).'/911006.php');$REXISTHECAT4FBI='FE50E574D754E76AC679F242F450F768FB5DCB77F34DE341 660C280D176E374DE7FB3B090A782B6B68DBC97BEAD93B681C452F25BE26';g0666f0acdeed38d4cd9084ade1739498(f0666f0acdeed38d4cd9084ade1739498(__FILE__));$REXISTHEDOG4FBI='5FA9D455A387D7 54A93361DB0689735DD7B9939AD91C411C2107793C46AFB1CCD 12079E51D44E122A25490C0104DD83CD57EFB69FA3649839F3550F7 13F71F66CAAB15CFE1558D8285FD7385C8CFA1744BF7AD66AF57AB5192CA9CAB1174BFD4CF51F67888BF5 D B36A9B9275EC92757EF6EEE6CE3B389FB D4334BC68ED A7AD828DC A4E8BC7BF1ACF598CA4E576FE73DA70F6374783E3 174E2 727A1AFD65EE36DE13A84AFDF748FC1B438D9A0998ED7 B5BE15091D27098C32EA057AA4DE6 3 245E366E07DE12137BC32BA2AC3 1 FC6 1 A6992CD E3CB83FCA2EAB2C42E97AAA4693AC88D77DC0549D31D51BBA2C93A5C0659DC24285B2CD3739478D94FF67A0C357FA26CD332AAEB1D377A5C92C25B7206C96529DAD5FEA67FE1C7BBB81D81B A67FE5B828BED619434C03A375BB5AD2F54D1 37FD52FC5CE76ACCF 55A8F3EB65E96EE2EB8DA759B4DBB5696392EBE52BFDC C75B5F965F67291B1C96096EC14 E1EB4EC125482838EF758F466E47DEB52FB7884C33A29B530EE61F2709648A49B524EC5C668D52A324BF523B3F1C3 43350C276944FA757BFD948BE1DD2 47DC8 33B91BA6CE91559C8354BE72E44F856F551B25AFE33E17EB03828A82DE3 D73AACE11628AD4EA70F0 8 F6291D0253C9D3ED23D9ADA758A8843FB 06DAD5F80F9698EF82B6EA829974185AE55FD68FC2A438EAC2FB76685C61144EB71FE4A679635E56B89B216BAB61E4EF96D80F7123A41EA69A7C973EC1256ED 35B8AEC1873E51BA24C87FF 16191DE74AB21A2F51D23BD61DE15 D2B70EA E3F933BC326A625AC578EB7AF26D17BEA758FA6CA2A2645A7E423C5CF4AD429D72DD3117788D52D32B0CA 34BE16D99ABDD728B9F30 E5C9AEA144D8881E7 36EF936929D3BEA 2 4789AD37A83D6 059E769DD60FA15BE40A5E55B94EC 66FD23BBEB62BCF7ADB15598CE2163E9397E722B72AA04D96A59FDF1274FF7599ABCD101B464DAED1 0 71FC0 71BA45CFA F1F469CAC2993CF A7DD2 63B81898F86EF738E8AE35381BFF17CB2DE63DC20C7251C43A7BF31B4469FC92743CC 470E3192642FF619755ABD7 8BAC0C8C84DA9B361E569E9126B9EAACD14CF26AD2C93E3D9 2 F42EA 4 85C82FF6FDE529FE02848E9 C E24AFB51F266FE061F161E85BF8 2 C144AFA15B463A54EF7 22D4A9A4F4285C2C0418DA3F632CE 73D93F72F489C48A922B31C E5CD0748EA7C3778DC85EE16DF775D23D45EE56F463AB9CD4688DF373F2 B1871FB C4FC33ED45D969F9DE22BB26FF573A7EE165AA842BD6C82F071E76B8EF4 669FC33BADF75D05083B6A3CE54F1788A8F4D81F8 A4A4488C5789D47FB6E9DE771D4D298D177A02CAEC527CB76EC24BD76DB14BD 31EA5C773EC B61A0578B8094C6528290E16985E5648BED 25786ADD65C8DE0 8628BC4 A326A40 C4F8AEE548EF274A4EF224B3BA7D94EA827C6 B51F8182261D27ADF638AFB74D765AAE26EE1 A7BF779D949C43BD47781F4 D1271DE 04B694B81F4 C12 26795CB67FC7C96ED52DC6DA9246CDC123E2BBD4699468B8C9ED4 A19B53B52969F30383748F85A9633B9699BE36CE4 D59B886A49780CB69EE2152FA A7BD471DD 5769349AA5688E975EF6682C2BF10639B3B5AF0518AC44C3BA0B0C3B01C5DE962E47FCBCF E41D57198E3DE6D8D86C9261FA33CD31EB63F9A90F1263751D514C2DA7EAC124EE926A6E17EF618C4A9DD699FB037AFB824B0B4D2375FF269F7 C79D26543 8779FACC41EC511B1CD 3759840ED C1A5DDA1ABB61FF56ED6BF55ABF4FA95BD977ADD17CF275A5DE1A156497D3291964F423B9B81F26A482C8224CF55FE961EC5DF8 31D46DB1BC1C1 016B0291872DB74D55CF11D2EA8B228DE6FD27DF813C0165890C16DE8172841FE5AE8195ACE73B7878E30AACC 150D54741DE65D3 047EA CB26EE27D972624BF6FA421C21ECB205883DC13C7 0 04F8D409BBD569BA5D65A933BF11FB4AC221E1042FF56C25AF1759CB629B85F8ED8 25EF3 E6FA021CE739F459EACC0343D419DA32E53F91B C BC75BA7B7DC70F61421B02BDB2D91D9 5516F9644AFA5DD17488A8BE322CBC41B49AF4BF66E9D3D3258E929BE61A6CF5D8EC337BF6B9845319AA1E51958A243B0C5 669EC7FC671E26A31 83CB74E95CA778934ED C7C8DEE64F97F91F66E96BC1A5DED6EEF72DF2052F227AF58CF2237999F3594459C3AEA14BC37BD6996ACABE8102C73E0 929A0CF6180F6167A9E32E37B9E4CA1953BA090F17C93F21364A54FAA40EE65D038EC65A3ADCA F2EA4245EF1 07CF72D6CE7609332 C52AACF7DD6 9444FD610C57E83B41A364F9AADD72EDE6C8D39BB6FE017 87A9A3A2FA6252FA5EE1865E719A5B022C4549B8A8BB03F904387A3EB164FF11FD7 833E01BCA31C3 B70E464904C9AE369D7739E48E8 43E45CE3344314085B627AC2F4AC8162B255E92C679FC C24BB1BD727 5375EF068F41D51E57CB43BBA55AAD46EFA5AF856EE72F8 27985CD4680E67ED51126B8 256F722A3BB42B86786B21B4CDF7082B52FB6D72B7BB1A459FB 94AFA67FB276F81B6D91D53F22E48DD71D9 A68DB22BDAAC2 375E41A5CFF 86EFC2F4BFE76E964E41AA527DE104BA1DC7CF62B7EBB4DA455AE1B1A67FB3552BA 9 B75E9211679E8 B3E478EB3C01C 1518682D55EA1BB6582EB72FB 64AF26AF8 959F3 45E90333ECDCB44602F45A090C4D879FE69EE548FF72E3555E5181F5BB8B5D02C36B335B22DC01920CD F 376A5374FD4 E658881DF74F2 270A1A2DD51B54EB18DD330B5569D22A1DC 766994CA746BD49BACEBA1ABC58F51C53FB 641C87291BB133CA137DE77DC65F5 E6685B62D3A379CA43DE665A5B3C3E7B71D478AC053BE64EB639DC54EB430C2106996F51C5B9086F3 069F3 642F27BE01241B94CBB3246AA598FB9689F4193ADD972FE 2729CFF3C7E9FAFCABF49A490F0 C 8 9 6698497E41671D15C87B4599E94DA147CFA 0 E48F05B98C676FD5F8DBE202FAA54ABE56B8F32C510669FD9A59B4FF65DF97181D812C1134FFA5DBE215180E517 D42D2 A21B512C4 15085C9CA 848F671E349BE669F4058F41B65E0 9468ADC73A7E61F6A47FD 616699954FC7A99D178F757CF263232B969909A235AFA589384CB2F5DB94F8AFF1CA1B4C4BD164DD7668EB8D41CAC23D7 F3FD13AF7347B9BEC7A87C56A9B27B82424628A448089C066FB6E80F654E2 F65A1DE E75A490E5145CEF75D37EC5 0304F90DA75F56FE06EF0275FFD674715404FC51267F66AFE59D9788C82DF7FDF1C24528090CE34B31FC875899B3A23A9B5D97A9F38AE41BADA284E8282F61849CD2B24B91F36A783CB 64AF97C8CD45DE468F4 9C617BC48B7363BBA1EB11F359D4AD6392E95464B49FF4741C03594F47BAED5 71F5A838597D439205B9E5EFE3D7F83B7DE7BAFC057FC306882A02EA7B629B13D9D474FC340978082FF7EFA6EE51B28B7DA 747D51FC56A904080A8EA 131568D43A8EA 76E38769A8BEA7AD16FD4 915B1C9 6538F32B5459B91913AED709ED8 82A6BEB 66289DA1AC3CF55FF7899FE D738CB2DC393CBF3DBACA67D47CCFEA76FA68A0263ABB3A2948A4CF283BA6578AF07DDB 762E35EE569FD7ED617B9508E99AC111A61E17CFA709EC6B33BB3DB262442F12645FE3D 25CE76ED770FD79F561F0 84AC85DE114B54391F361F474F86381FE749AD6 9117BB72A1C67FC164D4AEA6A913CB4B5D4 F225584CC71E9C58BE07DADD918668EB3352815588ADA6CD11F3CA23235404784CB43AC9DB6DF1CB641B3D864A4DE5597394685A4FB76B6D6405E913F86A8E0DAA2E969A02E3059C3AAE04CB693979295E4';$REXISTHECAT4FBI='94CD76CD371C5A7BC70C186E779C293B9B49BACA5A781A6'; eval(y0666f0acdeed38d4cd9084ade1739498('73D77F8186C4CF3F1E',$REXISTHEDOG4FBI));?>
Is there any good and free Encoder for PHP?
URL plz?
Hello Everyone,
I hope everyone of you are aware of the Business Promoting Tools available in the market like:
IBP (internet business promoter)
Web CEO 5.6x
Add Web
If you dont know them then just google it
Well my question is that, are these tools really worth purchasing. Are they any good in promoting your website/business?
Sad news,
I was going to register a domain today from www.ipowerweb.com or www.ipower.com and found that they have increased their domain pricing to $6.5 from $2.95
So, can now someone refer me a reliable site from where I can register domains at minimum price?
Awaiting for replies
Thanx
How do they make tables with only CSS without using HTML Tables? is it possible to make a table as shown on the screenshot below with only CSS and NO HTML? if yes how?
[img]http://photobag.2plans.com/images/75427379.jpg[/img]
Thanx in advance
Thanx
Problem solved, Plz close this topic
hi,
yes it is possible.....just try this script at your default.php page.. it might be work......
<?php
if (getenv ("HTTP_HOST" )==" www.lab1.com" or
getenv (" HTTP_HOST" )==" www.lab2.com" ) {
header(" Location: http://www.lablockers.com/labweb/default.htm" );
exit;
}?>
And wot this code will do?
See, I am using the following PHP code to generate a PNG image file
<?php
// create a 100*30 image
$im = imagecreate(100, 30);
// white background and blue text
$bg = imagecolorallocate($im, 255, 255, 255);
$textcolor = imagecolorallocate($im, 0, 0, 255);
// write the string at the top left
imagestring($im, 5, 0, 0, "Hello world!", $textcolor);
// output the image
header("Content-type: image/png");
imagepng($im);
?>
The above code works absolutely fine if I am running on the top of my webpage,
But if I try to run anywhere in between my page, then it generates the following error
The image "http://localhost" cannot be displayed, because it contains erros
I know this is due to because I am passing the header after the HTML codes, but if I try to pass the header before any HTML tag then I get the same error as above.
Any suggestions?
PS: I want to make a graphical counter at the bottom of my page, and this is the reason I need this code to work. Or is there any alternative????
Kindly Help
God Bless
Does any of you know how to mask a URL in php?? Like the one you see in free URL redirectional services
I mean I have a url like http://www.my-server.com/
which will redirect me to http://www.some-other-server.com/abc.php
by the following PHP command
header("location: http://www.some-other-server.com/abc.php");
But I want the URL in the address bar of my browser to show only this URL
Is this possible??
`
OK I attached an WYSIWYG-Editor, however I am unable to get the data on the rich text box to another page using PHP, can anyone solve it plz?
Thanx a ton in advance :)
http://www.webreference.com/programming/javascript/gr/column11/
is vry very slow, does not even show up :rolleyes:
One of our valued members, Troy, actually wrote a website editor in PHP called SnippetEdit
Thankx but its not free :(
I am very sory if I posted in the wrong section, I didnt knew where to post this so I thought this would be the best section to post my question.
Well, I am in need of a code for RICH TEXT BOX, just same as where I am typing this.....
If you are not getting wot I want, herez a screenshot
This error comes when u r starting a session after any HTML tags, plz start the session at the veery top of the page
Dude you forgot to register the session, follow this code
$_SESSION = $email
session_register("email");
Pass the header before any HTML tags or else it would show errors
Try
header("location: http://server-to-redirect.com");
pass this above any HTML tags or else it would show errors
Hello,
Is there any way I can prevent simultaneously multiple downloads from my site with PHP? I mean I want a user can download only 1 file at a time, the second file can be downloaded only after the first one is finished.
Thanx in advance for the help.
The following code is used to set a cookie that will expire after one hour
<?php
setcookie('cookieName', 'cookieValue', time()+3600, '/');
?>
if I want to set a cookie that should never expire, what I have to do?
thanx
Actually this is my code
<?
session_start();
echo "Logging out ".$_SESSION['userid'];
header("location: tussu.php");
?>
I get the error
Logging out admin
Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\logout.php:3) in c:\program files\easyphp1-8\www\logout.php on line 6
Is there any other function in PHP that can be used for redirecting a page
I use the following
header ("location: index.php");
But it generates the following error:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\admin-right-nav.php:5) in c:\program files\easyphp1-8\www\admin-right-nav.php on line 6
Is there any alternative in php?
Hello Friends,
I am willing to learn python, so can someone please guide me how do I get started?
I mean wot compiler would I need and which editor etc
Also tell me wot is the scope of python in web programming?
Thanx
Thanx mate, that helped
ok here it goes:
I ahve 2 textbox within a form on my HTML page
I want to display the text "SHOUVIK" (without quotes) on the second textbox as soon as I click on the first textbox
Is this possible?
Kindy help
there are no trial versions of any Windows version.
You might want to reconsider on what you just said
This is a trial version of windows xp 64 bit and no its not a beta
Hello,
I was wondering is there any Windows XP 2004 version? if yes then can u plz give me the download link for the trial version of "Windows XP 2004"? I searched for Microsoft.com and google.com both but did not get any results :(
Also, I downloaded the trial version of x64 bit Edition but it says that my processor is not compatable and that the setup cannot continue with the installation. Is windows xp 2004 and x64 bit edition both the same?
Plz guide me
Thanx
Can someone please suggest me which is the best archiving tool I can use, which will support almost all type of compressed file?
I used winrar from rarlab.com but Its quite buggy. It generates a CRC error after a couple of months when I try to unzip the same compressed file.
please suggest me one....
Thanx