52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Hakoo

Hello All, I just want to know how Can I disable button for some conditions? Say, if I have session- Val. If its -1 then button must be disabled otherwise Enable.. Thanks, Hakoo Desai...

Web Development asp session
Member Avatar for code739
0
140
Member Avatar for ramganesht

Below is the code in which I am creating the list of URL s with the information of hotels in a city, the problem is when click on the URL no values are being displayed. please let me know how should i modify the code. <?php include ('connectdb.php'); $query = …

Web Development mysql php
Member Avatar for |-|x
0
228
Member Avatar for ITech

can anyone tell me whats wrong in the following code. <?php $username="******"; //To test type ure gmail email $password="****"; //type ur gmail passwd $url="https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/&ss=1&scc=1&ltmpl=default&ltmplcache=2"; $cookie="cookie.txt"; $postdata = "Email=".$username."&Passwd=".$password; $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) …

Web Development php
Member Avatar for veedeoo
0
1K
Member Avatar for golfgod04

Hi, I have never had to do this before but I do not know how to make an htaccess file. I currently have a webhost and have a few addon domains to my original website. I just uploaded a new site as an addon domain. However, when I go to …

Web Development php
Member Avatar for golfgod04
0
110
Member Avatar for GeekTool

Hello all you guys, First of all, i am done with Html and CSS as i said in the article title. Now i want to learn a language like PHP, Coldfusion, .Net etc. to make dynamic web sites. According to what i have heard from my friends, php is the …

Web Development coldfusion html-css php
Member Avatar for veedeoo
0
182
Member Avatar for ramganesht

I am, trying to write a PHP-Mysql code which fetches the important places in a city and displays the results as links, when i click on the city it should display all the details like name, place, address, phone number etc, but in this case results are not being shown. …

Web Development mysql php
Member Avatar for diafol
0
147
Member Avatar for ramganesht

Hi there, I am facing problem in coding PHP for my search results, my search results produce dynamic URLs (clickable texts) but when i click on the url's no results. In my website am trying to display all hotels in a city, and Iam searching with the hotel name and …

Web Development php seo
Member Avatar for ramganesht
0
196
Member Avatar for Ameer89

Hello all :) I am still a beginner at ASP.NET and VB.NET so I could use all the guidance I can get. So thanks in advance :) I am building a web application using Visual Web Developer as the IDE and Microsoft Access as the database. The application allows users …

Member Avatar for JorgeM
0
196
Member Avatar for Jigs28

Hi, Please someone explain me what is viewstate and postback properties in simple words. I have sean many notes but still confused. Please explain with example and considering me as totaly new to IT (actually i am not). Please help i am very confused. Thank you.

Web Development
Member Avatar for Jigs28
0
169
Member Avatar for gopi17

Guys, need some guidance here... i have this php codes that copies all the value in a table to another table....some sort of table replication now, the problem is when i tried copying them, keep getting an error Database down **1054: Unknown column '124928F014007570' in 'where clause'...** the codes dataverification.php …

Web Development html-css mysql php
Member Avatar for pritaeas
0
181
Member Avatar for hwoarang69

1st user has to fill this form <form action="upload.php" method='post' enctype = 'multipart/form-data'> ImageName: <input class = "text" type="text" name="imagename" /><br/> Description<textarea name="imagedes"cols="16" rows="4"> </textarea><br/> <input type ="file" name="fileupload" /><br/> <input type="submit" name="submit" value="sumbit" /><br/> <a href="index.php">[BACK]</a> </form> than it run php code. here i am getting image infomation $image_short_name …

Web Development image php
Member Avatar for pritaeas
0
129
Member Avatar for Danny159

Hi All, I have a WordPress installation at the following: http://www.domain.com/wordpress/ However I need some help... When a use goes to http://www.domain.com I want it to redirect to http://www.domain.com/wordpress/ however I want to hide the /wordpress/ so the user only sees http://www.domain.com But it still needs to work with links …

Web Development php wordpress
Member Avatar for Beattle55
0
247
Member Avatar for samxa

Hey guys, well im new to the php scene, but want to put this form which will auto-generate a new page (example : www.abc.com/123 or something like that) and then send a thank you email with the link to the auto generated page to the recipient. it will have fields …

Web Development php
Member Avatar for diafol
0
297
Member Avatar for azdonald

Hi, I want to output a random value from an array. i use the array_rand() function but this function returns the array key while i want echo the value. $mtn = array(08034, 08035, 08036,08037); $mtnwinner = array_rand($mtn, $num_req = 1); echo $mtnwinner; the above code will return any of the …

Web Development php
Member Avatar for vibhaJ
0
132
Member Avatar for HinataChan

Hellooooo... I want to ask a question! I have Listview1 and in the SelectedItemTemplate I have ListView2. When i click "Select" The Listview2 shows up... and then when i click it again i want it to hide but, i want it check to check if the ListView2 has items to …

Web Development asp.net listview
Member Avatar for HinataChan
0
99
Member Avatar for vindom

Hi! I have iframe with multiple images retrieved from DB. Each img have "comment" button underneath it. I need this button to redirect to the comment page where user can leave comment . Redirection function works. But at the same time I need this button to send img ID to …

Web Development first-post php
Member Avatar for vindom
0
402
Member Avatar for ssreevidya.m

Hi, I just need to get all the months or monthid between 2 dates like '02/04/2012' and '08/07/2013'. I search it for a long time. But i get only the date difference. Can i get this in asp.net. regards, sreevidya

Web Development asp.net
Member Avatar for ssreevidya.m
0
158
Member Avatar for Transcendent

I have a form where someone can send me a message but I do not seem to get the e-mail. here is the html file: <!DOCTYPE HTML> <html> <head> <title>Financial E-mail: Send us questions.</title> <hr/> <style type="text/css"> body { background-color: rgb(98,21,153);; background-position: top; background-repeat: no-repeat; color: gold; } a:link {color:rgb(255,215,0);}/* …

Web Development email html-css php
Member Avatar for diafol
0
227
Member Avatar for mani508

hello i want to file attach only specific format and restrict size on file and also remove file option. how its possible.? i used uploadfile control of asp.net but remove file option and size of file not there.. kindly tell me how can do this. advance thanks...

Web Development asp asp.net file-system
Member Avatar for mani508
0
266
Member Avatar for gopi17

I'm having trouble deleting this file... keep getting this error : Warning: unlink(Gate_pass.csv) [function.unlink]: Permission denied in C:\wamp\www\SVS\copydata.php on line 31 i search trough some sites, they said replace the $myFile with the orginal name Gate_pass.csv, but still getting the same error...can someone guide me on this matter. thank you …

Web Development mysql php
Member Avatar for gopi17
0
140
Member Avatar for hwoarang69

Deprecated: Function split() is deprecated in C:\xampp\htdocs\login_test\class.phpmailer.php on line 470 this error is coming from $mail->AddAddress(tester@hotmail.com); //is this same as To: require_once('class.phpmailer.php'); $mail = new PHPMailer(); $mail->AddAddress("test@hotmail.com"); //To: $mail->Subject = "test1"; //html body $body = "HEllow ikhlas"; $body .= "rest of boey"; $body .= "Sincerely,<br/>"; $body .= "test"; $mail->From = …

Web Development php
Member Avatar for hwoarang69
0
683
Member Avatar for eltonpiko

hi i trying to work on a lunch monthly order form.what i want to do is create a table just like a calendar with 30 cells label 1 to 30 days and in each cell the same food item with checkbox next to it generated from mysql. the user put …

Web Development mysql php
Member Avatar for diafol
0
1K
Member Avatar for hwoarang69

les a user come on index.php page. he sees login form. but he forgot his password. so he click forgot password. on forgotpassword.php page he fills a form. <form action = 'forgotpassword.php' method = 'post'> Username: <input type='username' name='username'><br/> E-Mail: <input type='email' name = 'email'><br/> <input type='submit' value='get password'> <a …

Web Development mysql php
Member Avatar for vibhaJ
0
127
Member Avatar for sentongogray
Member Avatar for Rsimpson105

I keep getting the warning "Warning: Cannot modify header information - headers already sent by (output started at /home/camelarc/public_html/contactform.php:11) in /home/camelarc/public_html/contactform.php on line 33" The warning occurs after i fill out a form on my website and press submit. The warning appears, but the php file still sends an email …

Web Development php
Member Avatar for senthilvignesh
0
245
Member Avatar for hwoarang69

so i tried this first. every thing works and get a message echo"message successfully, sent". but when i check my email nothing comes. //$email is the user email $to = $email; $subject = "Forgot password"; $message = "Hi $firstname_db,\n Your password is $password_db"; $headers = "from: text@hotmail.com"; if(mail($to, $subject, $message, …

Web Development php
Member Avatar for hwoarang69
0
365
Member Avatar for lhsunshine

For my sign up page, i want detect user exist so that no repeated username. BUT fail. There is no error in my coding. BUT cannot detect.... HELP. tHAnk you if (IsPostBack) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["RegConnectionString"].ConnectionString); con.Open(); string cmdStr = "Select count(*) from Reg where Username = '" …

Web Development asp.net
Member Avatar for kvprajapati
0
166
Member Avatar for Jigs28

Hi, I am confused between razor and asp.net coding. Asp.net code itself is a server side code so why it is said that razor code is server side embedding code for creating dynamic web pages? Normal asp.net code also runs at server side so what is the need for razor …

Web Development asp asp.net
Member Avatar for internet_red
0
261
Member Avatar for kimmi_baby

Hi, I've created a template in wordpress where the child pages of one page are displayed on the page. What is displayed is the thumbnail (feature item) of each page and the content of each page. The problem I'm having is that in Safari, the third (last page) is not …

Web Development php wordpress
Member Avatar for diafol
0
194
Member Avatar for priebd1

I have a csv file with the following data: DATA1-1 DATA1-2 DATA1-3 DATA2-1 DATA2-2 DATA2-3 DATA3-1 DATA3-2 DATA3-3 I need to append more data to the file so it will look like this: DATA1-1 DATA1-2 DATA1-3 DATA1-4 DATA1-5 DATA2-1 DATA2-2 DATA2-3 AAAAAAA BBBBBBB DATA3-1 DATA3-2 DATA3-3 AAAAAAA BBBBBBB I have …

Web Development php
Member Avatar for priebd1
0
3K
Member Avatar for ramganesht

I have question in creating a dynamic menu items. my require ment is as below. In my web site the menu items are 'Education' 'Leasure' 'Quotes' In Education i have sub menu items like colleges, schools, science, maths. In Leasure i have sub menu items like movies, resorts, parks, lakes. …

Web Development php
Member Avatar for diafol
0
153
Member Avatar for stephen_UK

I have 2 versions of the same database. One uses M/S Access and is installed on stand alone laptops, the second is web based MySQL/HTML/PHP. The database is simple ie a single table with cuirrent 8000 records with 32 fields/record which is expanding at around 1000 records per year. What …

Web Development encryption php web-browser
Member Avatar for stephen_UK
0
170
Member Avatar for HiWorld

I am stuck on a problem, and can't seem to figure out why this isn't working, when I am pretty sure it should be... I am trying to get my code to delete users from the dropdown list after the admin hits the delete button within the page. The form's …

Web Development html-css javascript-jquery php sql
Member Avatar for HiWorld
0
361
Member Avatar for BoB3R

Hello, I want to edit record in mysql and ive got problem with UPDATE command its giving me syntex problem here is the code: <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dbname", $con); $sql="UPDATE users SET (userid, firstname, lastname, email, username, password, role) …

Web Development mysql php
Member Avatar for BoB3R
0
173
Member Avatar for shanaka995

**HI** I created a blog on blogger.After creating it I changed its URL to [shanaka95.tk](http://www.shanaka95.tk). Now I want to use [**rss graffiti** app on facebook](http://www.beta.rssgraffiti.com) and see my latest blog posts on facebook account.But that app asking me the **RSS Feed URL** of my blog.I tried using this URL http://www.shanaka95.tk/feeds/posts/default. …

Web Development xml
0
306
Member Avatar for ak47carbon

diffrentialte btween function, variavble,constant and string in php tell me $_file[] is function or variable

Web Development php
Member Avatar for cereal
0
148
Member Avatar for hwoarang69

for some reason when i hit submit button it doesnt go run php code. i have this form below. when i hit sumbit button it should start the php code. <form action="" method="post"> <?php //print errors if(array_key_exists('reg_error', $_SESSION) && !empty($_SESSION['reg_error'])) { echo $_SESSION['reg_error']; unset($_SESSION['reg_error']); } ?> Firstname: <input class = …

Web Development html-css php
Member Avatar for |-|x
0
1K
Member Avatar for Albert Pinto

Hi People. Got a small issue, although its big for me........ I'm using phpmyadmin.... I have 2 tables.... My First table is 'user' which has 4 columns ( eventid, Name, Email, Address ) ( eventid is the primary key) My Second table is 'trips' and it has 6 colums ( …

Web Development php
Member Avatar for pritaeas
0
120
Member Avatar for my3h

Hi, I really do not know how to read line by line csv file and store it in the database. I want to check datatypes, and the mandatory fields. Please somebody help me in this

Web Development php
Member Avatar for diafol
0
132
Member Avatar for BoB3R

Hello, I am new in all this and i was hoping you could help me with a little thing so here it is ive got 2 files one is for showing movies from database and there is "delete" button that is taking an a id and deleteing the raw display.php …

Web Development mysql php
Member Avatar for BoB3R
0
120
Member Avatar for leader2345

I have a form in php that allows users to edit their user profile after the user logs in. It is prefilled with the users current info and when it is submitted, it updates the database. However, when it returns to the edit user profile page, the prefilled text is …

Member Avatar for diafol
0
4K
Member Avatar for prem2

Dear all, I am new to mvc architecture Programming concepts.I have doubt that why peoples are using MVC Architecture?.What are the core benefits of using this architecture. Thank you, Regards, prem2

Web Development php software-architecture
Member Avatar for baig772
0
146
Member Avatar for |-|x

OK, let me preface this by stating that this is for an internal application only, so security is not a major concern and we can/do have a fair amount of control over the users browser, operating environment and configuration. I am currently generating some hyperlinks, like this: <a title="L7489" id="MainContent_GridView1_lnkFolderR_1" …

Member Avatar for |-|x
0
312
Member Avatar for hwoarang69

this part of code send a email to user if they forgot there password. first question i have is how can i add string and variables. this give me error Parse error: syntax error, unexpected ':' in C:\xampp\htdocs\login_test\forgotpassword.php on line 46 $body = "Hi " . $firtname_db . ",\n Your …

Web Development php
Member Avatar for hwoarang69
0
162
Member Avatar for grafic.web

Hi there, i would like to know how to get the first letter of all the word in a string. If i have a string mystring="Name Surname" i would like to get only the fist letter of each words and the results will be N S Anybody could help with …

Web Development asp
Member Avatar for Freshbee
0
114
Member Avatar for HayLift

I have a Drupal site which is quite big and practically unreadable on most mobile devices, by using this [scipt](http://detectmobilebrowsers.mobi), I have managed to get the site to redirect to a sub-domain for each mobile browser. As the pages on the sub-domains are very minimal with little information, I also …

Web Development php
Member Avatar for Doug_Vann
0
292
Member Avatar for HTMLperson5

I would like to write a page which accepts Value of textbox / input-field using javascript. As you get values from this: <script type="text/javascript"> var cheese=1 document.write(cheese) </script> Maybe the value `cheese` could be taken from text which the user has to enter....how?

Web Development javascript
Member Avatar for code739
0
15K
Member Avatar for |-|x

I have a datasource on my page, the select query of which creates a pivot table. The complexity is that the columns in the pivot are determined by records in another table (the users table). So I have to use a prepared statement to build and execute the pivot query, …

Web Development asp.net c# sql
Member Avatar for |-|x
0
335
Member Avatar for |-|x

Does anyone know a good way to force javascript to evaluate all operands in a boolean expression? In particular, what I am tring to do is essentially this: return isValid(a) && isValid(b) && isValid(c); while this technically does work, the function is responsible for highlighting invalid areas on the form …

Web Development javascript
Member Avatar for |-|x
0
430
Member Avatar for hwoarang69

i have this form. when user hit sumbit button i want to run changepassword.php <form action = 'changepassword.php' method = 'POST'> Old password: <input type='password' name='old_password'><br/> New password: <input type='password' name = 'new_password'><br/> Confirm password: <input type='password' name = 'confirm_new_password'><br/> <input type='submit' value='Change password'> </form> so when user hit submit …

Web Development php
Member Avatar for hwoarang69
0
213

The End.