Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~8K People Reached
About Me

i respond as u treat with me

Favorite Tags
Member Avatar for shahai.ali

hi i wan to add my `.xml` files into `database` and into the directory `uploads` . i have following done into the `php` if(isset( $_FILES["f_name"]) { $path = ""; if(file_exists("uploads/" . $_FILES["f_name"]["name"])) { echo $_FILES["f_name"]["name"] . " already exists. "; } else if($_FILES["f_name"]["type"]!= "text/xml") { echo "invalid type is tried …

Member Avatar for Daniel Claff
0
264
Member Avatar for shahai.ali

hi i have following code in c# on button_click ReportDocument cryRpt = new ReportDocument(); TableLogOnInfos crtableLogoninfos = new TableLogOnInfos(); TableLogOnInfo crtableLogoninfo = new TableLogOnInfo(); ConnectionInfo crConnectionInfo = new ConnectionInfo(); Tables CrTables ; cryRpt.Load(@"c:\users\shahaiali\documents\visual studio 2010\Projects\CrystalReportTesting\CrystalReport1.rpt"); crConnectionInfo.ServerName = "ShaHaiAli-PC"; crConnectionInfo.DatabaseName = "StudentInfo"; crConnectionInfo.UserID = "user"; crConnectionInfo.Password = "pass"; CrTables = cryRpt.Database.Tables …

Member Avatar for shahai.ali
0
184
Member Avatar for shahai.ali

hi i have a dropdown which is connected with a database and containing some sort of items, and a gridview. i want to show only those values into the gridview which is select from the dropdown. for example if i have the following values in to the database: value item …

Member Avatar for Philippe.Lahaie
0
214
Member Avatar for shahai.ali

hi i have a table in which m storing some data like in the following: table => uploads string_file and file_name and m trying to select the string_file. the data for this column is like in the following; ab323892,416a75f4, e732ced3 and blah blah. and following is the query that m …

Member Avatar for diafol
0
189
Member Avatar for shahai.ali

hi i have deattach the database from the SSMS. and a new database i have created in visual studio 2010. and i want to attach it to the SSMS. but my attach process is failed. any body is there to help me to attach the database into SSMS...

Member Avatar for LastMitch
0
58
Member Avatar for shahai.ali

hi m following [this link](http://www.c-sharpcorner.com/UploadFile/0146e3/crystal-report-in-visual-studio-2010/) for generating crystal report in visual studio using c#. but in the above tutorial the database is created first and then reports are generated. but in my scnario i already have connected with database. now is it possible to generate report from existing database???? if …

0
94
Member Avatar for shahai.ali

hi i have a table like this for attendence: table name attendence. id std_rolNum std_fname date std_bkfast std_lunch std_dinner i want to make search on the base of `date`, `std_rolnum`, `std_lunch`, `std_bkfast` and `std_dinner`. so that if on the same date if student have already taken breakfast, lunch or dinner …

Member Avatar for shahai.ali
0
323
Member Avatar for shahai.ali

hi m getting the following exception: `System.Data.SqlClient.SqlException: Incorrect syntax near '4'.` the following is what i was trying: public void hostel_cpacity(ManageHostelRoomsBE hmr) { string str; string conString = System.Configuration.ConfigurationManager.ConnectionStrings["Hosteluog"].ConnectionString; SqlConnection con = new SqlConnection(conString); SqlCommand cmd = new SqlCommand(); cmd.Connection = con; con.Open(); DataTable dt = new DataTable(); DataTable dt1 …

Member Avatar for shahai.ali
0
148
Member Avatar for shahai.ali

hi m new to `asp.net` and m trying to secure my pages so that if the user is not logged the pages are not accessed to him. previously i have done in `php` like in the following: if(!isset($_SESSION['adminlogin']) || $_SESSION['adminlogin'] == ''){ header("Location: index.php"); exit; } but i don't know …

Member Avatar for shahai.ali
0
138
Member Avatar for shahai.ali

hi to all....i have a task to embed skrill and pyaza...but i only know that skrill and pyaza are moneybookers. but i don't know how to embed them using php?? is any api is there to access both these moneybookers.????

Member Avatar for shahai.ali
0
219
Member Avatar for shahai.ali

hi i have the following problem after importing databse in c#. i have import a mdf database in C#. but it has exception after pressing `F5` for debugging. `A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. …

Member Avatar for shahai.ali
0
91
Member Avatar for shahai.ali

how to get the data from the following `xml`: <HostipLookupResultSet version="1.0.1" xsi:noNamespaceSchemaLocation="http://www.hostip.info/api/hostip-1.0.1.xsd"> <gml:description>This is the Hostip Lookup Service</gml:description> <gml:name>hostip</gml:name> <gml:boundedBy> <gml:Null>inapplicable</gml:Null> </gml:boundedBy> <gml:featureMember> <Hostip> <ip>182.0.0.1</ip> <gml:name>Private</gml:name> <countryName>Private</countryName> <countryAbbrev>PR</countryAbbrev> <!-- Co-ordinates are available as lng,lat --> <ipLocation> <gml:pointProperty><gml:Point srsName="http://www.abc.net/xyz/srs/epsg.xml#4326"> <gml:coordinates>68.7833,30.4</gml:coordinates> </gml:Point></gml:pointProperty> </ipLocation> </Hostip> </gml:featureMember> </HostipLookupResultSet> following is what i was trying: …

Member Avatar for diafol
0
255
Member Avatar for shahai.ali

hi i made a search but couldn't find a satisfied answer. any ways let me ask the question. as there are many freinds on facebook, twitter at social sites. and many other at gmail, yahoo and hotmail etc. now what i want is how to invite all the friends or …

Member Avatar for AndreRet
0
289
Member Avatar for shahai.ali

hi i was trying the following to invite the list of contacts from gmail. <html> <body> <?php if(isset($_POST['submit'])) { $email = 'https://mail.google.com/mail/feed/atom'; $sender = 'abc@gmail.com'; $send = mail($email, "Invitation", "Testing e-mail", "From: $sender"); echo $send; } ?> <form action='inviteList.php' method='post'> <font>Invite your friends</font><br><br> <font><b>Email: </b> <input type='text' name='email' size='30'><br> <input …

Member Avatar for shahai.ali
0
279
Member Avatar for shahai.ali

i have following form in html: <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file"><br> <input type="submit" name="submit" value="Submit"> </form> and my upload_file.php is in the following: echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo "Type: " . $_FILES["file"]["type"] . "<br>"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . …

Member Avatar for shahai.ali
0
2K
Member Avatar for GlenRogers

Ive uploaded a site to my server. I have a very simple login form for the owner to lofg in and update content. But I am getting this error. 'Warning: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage22/re/pt/il/reptile-ni.co.uk/public_html/php/login.php:3) in /websites/123reg/LinuxPackage22/re/pt/il/reptile-ni.co.uk/public_html/php/login.php on line 28' Here the …

Member Avatar for diafol
0
338
Member Avatar for shahai.ali

hi i am working in php. and my assigned task is to upload a file and save it into the directory. i have install wamp into D-drive but it not working and dont get the path. i was trying the following: <?php echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo …

Member Avatar for hakeemtunde
0
269
Member Avatar for shahai.ali

hi i m very new to ajax and i want to have incomplete results like in the following image of google: ![upload1](/attachments/large/3/upload1.png "upload1") please help me for this purpose and for more experties in ajax

Member Avatar for JorgeM
0
200
Member Avatar for shahai.ali

hi every one. i have two tables table_1 ( std_id primary key, std_name, tchr_id foreign key ); table_2 ( tchr_id primary key, tchr_name ); as from the above tables i have the foreign key constraint. it mean if i want to delte teacher id it must be firstly deleted from …

Member Avatar for adam.adamski.96155
0
201
Member Avatar for shahai.ali

hi all i want to store the error of `mysql_error()` in a variable. i was trying the following: $alert_error = "<script type=\"text/javascript\"> alert('".mysql_error()."') </script>"; $id =5; $query = mysql_query("DELETE FROM abc WHERE id ='$id'") or die ($alert_error); actually my there is a foreign key constraint so when i click to …

Member Avatar for shahai.ali
0
610
Member Avatar for shahai.ali

hi i have a following form in html: `<form action="upload_file.php" method="post" enctype="multipart/form-data"> File Name: <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form>` and here is my `upload_file.php` if (($_FILES["file"]["type"] != "file/XML")) { echo "Invalid file type"; } else { echo 'file is uploaded'; } it …

Member Avatar for Robert1995
0
282
Member Avatar for shahai.ali

hi to all m lil bit confuse as m beginner to the xml+xpath. so m sorry if i m unable to ask any kind of wrong question. now the question is m trying to accessing the name of the of the attribute of xml file using xpath and tyring to …

Member Avatar for shahai.ali
0
162
Member Avatar for shahai.ali

hi am using a tab control. in which i have already 3 tabpages. now the problm is that when the form is loaded the first tabepage must be enable while other will be disable to access untill i press the button that first tabpage is contain. is their solution for …

Member Avatar for AnnieCalvert
0
1K