39,402 Topics
![]() | |
Hai friends, Anyone know firebug like plugin for IE.Pls help me Thanks | |
hi everyone! i`m trying to display a friend of a friend from a friend table,but i dont know how to do it. i have a table called friends,which has id,friendid and userid fields. Now i want if a member loggin, to be displayed a list of friends of his friends … | |
[CODE]//only completed successfully if($cs =='yes') { $sql = "select * from past_participant where completion LIKE '%$cs%'"; $result = mysql_query($sql); $num_rows= mysql_num_rows($result); } else if($cs =='no') { $sql = "select * from course_participant FULL JOIN past_participant ON completion LIKE '%$cs%'"; $result = mysql_query($sql); //$num_rows= mysql_num_rows($result); }else if($cs =='current') { $sql = … | |
I am new to PHP, and I have this website. I want to know if i can have a page that is password protected (i know how to do that part), where the user can edit a variable from a text area. Example: if i had a $news variable, and … ![]() | |
[B]SHA1 my password fields all at once by running a query, I need to know how to write the query[/B] What I want to do is update all password fields in my database to be SHA1 Can anyone help me to run a query to update all fields as I … | |
Hi all, I have a file download counter on my website, [URL="http://www.madtogger.co.uk/page/software"]here[/URL], that I am playing around with. The files are stored in a folder on my server and their filenames are used to populate a mysql database. What I would dearly like is for the filename without it's extension … | |
Hi dani-webbers... I am endevouring to build an application that drags in data from multiple sources, and compiles this into a single page in which users can then click through to the item on the desired site. Most of the sites I want to include provide an API, but one … ![]() | |
ok so i have to tables and i want to have a query that selects all from "table a" and "table be" where "a certain variable"="$x".. how do i select all from 2 tables at once? | |
Hi, I have query in image sending in mail. I am trying to send image to mail id and display that image in mail id. below code i tryed to wrote and it is not displaying that image. In LIVE only i have tryed to send that mail it is … | |
New to the Java world. Can .jsp work on Windows based platform also, oppsoe to Linux? ~Mundee | |
hi all i have news publishing script. every script has own id ([url]www.example.com/index.php?id=12[/url] (for ex) who can help me Make comments script i want that let it possible to add comments each news when whatever news selected let it comes with its comments Thanks for attention | |
hi all,,, i am storing word document in mysql db. i have to email those word document form mysql database how to do it? | |
I cannot select a row to edit in the repearter. How can i update correctly to the database? Thank you [code] <?php do { ?> <tr> <td height="42" bgcolor="#FFFF99"><div align="center"><?php echo $row_Recordset1['student_e']; ?></div></td> <td bgcolor="#FFFF99"> <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>"> Present <label> <input <?php if (!(strcmp($row_Recordset1['present_time'],"1"))) … | |
i try to make a crawler that crawls a web page & retrieves the stock information from google,but can't do it . so plz help me 2 make that type of crawler. urgent plz... | |
Hi to all, Did any one know how to identify the uncompressed pdf and compressed pdf. Thank you, Prem | |
I've a basic chat script. In that I displayed messages directly from Mysql. When I click on send button then form submits and I get my posted message on screen. But if anyone else post message then it won't displayed in my screen unless I resubmit the form. If I … | |
![]() | i have an account with godaddy and they tell me my absolute path is d:\hosting\username\ if i have a file on my computers c: drive how would i upload it to mydata directory on the server using php. straightforward uploading is ok because i just copy and paste into [url]ftp://mysite.co.uk[/url] … |
Hi!, I want a simple code for a login system in php where users should be able to login in between 9.00 Am & 5.00 PM. Otherwise it should not allow users to login. Can anyone please help thank you Santosh | |
hello expert: got 2 basic questions: 1.don't know how to review php.ini content to check if register_globals is set "on" or "off". i know php.ini is on the server end. how to pull i up? 2. i see a paragraph says..."assuming register_globals is turned off"for this reason, we assume that … | |
[CODE]<?php session_start(); $_SESSION["username"] = $username; $_SESSION["password"] = $password; session_unset(); session_destroy(); @header("location:login.php"); ?>[/CODE] | |
This is my first website so please be kind. My form in my index.php has method="post" action="mailer.php" in my mailer.php I have the following code which I had hoped would take care of single and double quotes which may be entered into the message textarea $message = $_POST['message']; $message = … | |
Hello, I run a website and just today, it gave me an error: 403 forbidden error and i was told it was the permission of some of the directories at ftp. I used my filezilla to reset the permision to 755 for directories but still i'm getting the errors.Also, I … | |
hi, i need to display the users under some admin. so i had written this code but it is not showing the required output. so can anyone... do we need to add any function in this to get the username because by that username only we can know that he … | |
What I would like to do is search a MySQL table for anywhere from one to 12 seprate fields, depending on what is submitted from a search form(has 12 different things that a user can search -- its an "AND" search only) What I am unsure of is how to … | |
Thought this code would work, it is not sending me an email upon approval. What can the problem be, I tried making changes suggested but it did not work: [CODE] if($response->IsApproved()) { $to = 'donation@valleyanimal.org'; $subject = 'New Donation'; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $headers = … | |
Hello All, I had not been able to reliably send emails with the PHP mail function. So I decided I would use the PEAR extension instead, but I am having the same issue. I am not connecting to an SMTP server. The issue appears to be that I cannot send … | |
Hi All, Im busy integrating a custom payment system to my site. All of the charges work, including all callbacks. What i want to do is... 1. User clicks"submit" on the form 2. it sends its form action WITHOUT taking user to that page (becuase its 3rd party) 3. Their … | |
Not sure what I am doing wrong. I have an HTML email I want to automatically be sent out on approval of a payment. It is not working so can someone please look over my code and if you have any input that would be great! Thank you! [CODE] if($response->IsApproved()) … | |
When I insert a new event into the table, I serialize almost all the data except a few fields I needed to keep separate. Here is what my serialization looks like in the database: The field this data is stored in is called host_array: [CODE] a:16:{s:5:"sport";s:8:"football";s:14:"tournamentname";s:21:"Grid Iron Challenge 2";s:11:"sanctioning";s:7:"Testing";s:4:"age1";s:2:"15";s:4:"age2";s:2:"16";s:4:"cost";s:3:"450";s:5:"sdate";s:10:"2010-03-05";s:5:"edate";s:10:"2010-03-10";s:5:"tcity";s:5:"Wayne";s:6:"tstate";s:2:"MI";s:5:"games";s:1:"5";s:13:"teamsaccepted";s:2:"15";s:16:"pslteamsaccepted";s:1:"5";s:6:"hotels";s:6:"Hotels";s:7:"details";s:7:"Details";s:6:"button";s:8:"Continue";} [/CODE] … | |
I have developed a website, where i have 2 access levels, users and admin. on the server, i have admin folder with all admin stuff and user folder with all user stuff. based on the username,password combination from login page, i am redirecting the user to appropriate location. Everything is … | |
What books or tutorial (online/downloadable) shall i learn to be able to make secure page? I need to know different technique and algorithms | |
I've been looking at incorporating a wysiwig editor in my PHP pages like tinyedit or iRite. Something very much like the box I'm entering this message in, it would have the ability to let the user add links, underlines, bold, etc into blog posts and comments. However, does this necessarily … ![]() | |
Hi, I wonder if someone can advise. My website has been working great ever since i first launched it. I made a script months ago to notify me of errors like 404, 500 etc and so on and it works perfectly. Two days ago someone accessed my website and they … | |
Under what circumstances would you look to exclude pages from search engines using robots.txt vs meta robots tag? ![]() | |
Very simple code, I even echo the variables to make sure they are comming through: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; $im=$_POST['im']; $bm=$_POST['bm']; $peachtree=$_POST['peachtree']; $canapprove=$_POST['canapprove']; $cancomment=$_POST['cancomment']; $canclose=$_POST['canclose']; $administrator=$_POST['administrator']; echo $im; echo $bm; echo $peachtree; echo $canapprove; echo $cancommnet; echo $canclose; echo $administrator; echo "<p>"; $result = mysql_query("UPDATE employees SET im='$im', … | |
Hi folks, having a bit of bother trying to post my values to another page using radio buttons. I have an exisiting form that I wanted to add the below code to. The form currently posts comments however I want it to post ratings of DVD's on the site. The … | |
I have a string- 3,3,2,2,3,3,3,2,3 - Is it possible to explode it by length, such as: 1-> [3,3,2] 2-> [2,3,3] 3-> [3,2,3] | |
how to get the username given in login page in the next page | |
Dear all, I want to debug PHP script easily like VB IDE. Is there any free PHP editor to which I can use ? Thanks. | |
Hi, i am using the Plugin Content Bookmarker downloaded from [url]http://dev.aarthikaindia.com/downloads/[/url] ... ugins.html for my site. Some of the Articles are able to Bookmark like if i click on the Bookmark (twitter) , it directly bookmarks in Twitter with Some description of the Article where some of the Articles are … | |
Hello to all, I want to know the difference between SQL and MySQL. Also, please post links if anyone have links related to this question. | |
Hi, I have a PHP application that stores sales transactions into database tables, etc - and we have decided to use this as an online service - which makes it great for the client. They aren't computer literate and their computers mysteriously die and disappear. Having off-site data and no … | |
Hi php masters.. i manage to use an ajax combobox to shows bus fares and destination on my site and it works great in xampp.. problem start when i tried to upload the site to my host server (linux).. the combobox contains 4 .php scripts and 1 .js script there … | |
Hi - here is my code - it is for searching what i have done as u can see is - for every results the CP_ID is hyperlinked and opens up to the edit page. but no value gets passed. what i want is when a search result appears i … | |
Okay, so I'm making a RPG PHP text-based game. I have admins, but I' having trouble with coming up with new admin tools that will be available. I'm asking the gamers part of Daniweb to help me come up with new admin tools that will be useful and effective. I'm … | |
| |
Ok, so here is my problem. I'm making a telephone registry that lets a user add information such as first/last name, address, zipcode, state, and telephone number. Then they save the contact. Which seems to be where my problem is. The contact is saved and their information is posted. A … | |
Hi I am a newbie in PHP.I need to dynamically create check box based on the value in the combobox.Is AJAX the only solution?How do i get the value of check box?Thanks in advance.Pls help me out. ![]() | |
hi there do you know if it is possible to select data from a comma separated file? i need only name and message from this and show it in plain html or css number$sex$state$name$surname$zip$street$city$e-mail$ip$message$ there are many lines in the csv | |
![]() | Hi all I'm trying to built a function which will check if a given url and linktext exists on another given webpage. This is what I've done so far using regular expressions: [CODE] function islinking($linkurl,$linktext,$clienturl) { $curl = curl_init($linkurl); curl_setopt($curl, CURLOPT_HEADER, 0); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $file = curl_exec($curl); curl_close($curl); $s=0; … ![]() |
The End.