39,395 Topics
![]() | |
hi, can someone tell how to upload a file in php.i want to know the difference betweeen uploading a file and storing it in a folder and uploading a file and storing in a database.i want to know which method is good | |
till now I have never done anything dealing with exceptions. Now I have to deal with exception. Basically I have function below which I want to wrap in try/exception. I want to connect to database and if database connection failed then it should catch exception that will do some stuffs … | |
Hello, I am doing a project titled online university management system and want to perform video conferencing. Is it possible to perform video conference using php technology? If yes then what are the requirements? and how can i code for the same? please solve my problem as soon as possible. … ![]() | |
HI, I have two webserver and two domain and I want to share information between them.What I want to do is this to share the database between two webserver so ,if I add new information through domain 'A' that information can can be catch from domain "B" and I have … | |
Hi, does anyone know of a good php validator online. I used one called bermi.org and put my code in and gave me an error but i don't know what line the error is occuring. Perhaps someone could help me out. This is the code [B] tutors.php[/B] [code=php] <?php /** … | |
Hello, i have some issues with url rewriting: i use $_get[id] to determine what page i'm on and to retreve them from the database. at the moment i use url rewriting and i go to the website (where i have a redirect in the root index.php to /public/index.php?page_id=1) it shows … | |
hi i am quite new to php and have made a php page still in develpment. but i have come across a problem. i need a login for uses and admins. i fell that that is a bit over my head because of all the hacking problems. do you know … | |
I have a form at the bottom my website's homepage. I was wondering if there was a way, when you clicked the submit button, especially if there were errors with the form, to send you directly to the bottom of the page with either, javascript, php, or html. The code … | |
Is there a way to do this in PHP without using IMAP? All I need is to get who it is from and the text of the message. No attachments or anything. | |
Hey everyone! I'm developing a website that interfaces with a database for a college senior project that interfaces with multiple types of smart phones to submit information the phones gather. Part of the requirements is to let the user upload a file. The standard HTML form using method=post for input … | |
Hi. Hoping someone can help. From what I've researched I think I need to use a multidimensional array but I'm not getting my head around this problem so there might be another way. I'm building a basic web app. It's a mysql database of links to county record offices nationwide. … | |
arunss created this script but has not updated my request since then can anyone help me with this mode to his already good script ? See Below for that I need to add [CODE] <?php $songs = file('songs.txt'); var_dump($songs); echo "<br /><br /><h3>result</h3>"; $filtered_songs = array_unique($songs); var_dump($filtered_songs); if(sizeof($filtered_songs)>0) { $content … | |
Hi all, I want to give a link in my website where this is showing an event. I want to add there a link which title "ADD THIS EVENT TO YOUR OUTLOOK CALENDAR". I do not know the exact way or exact code which i will have to be use … | |
delet p-lease did not mean to add already got a post up on same subject SORRY!!! origan post [url]http://www.daniweb.com/forums/post1110097.html#post1110097[/url] | |
My website is [url]http://www.stickmin.com/[/url] (Please Register!) I have it so when a user Logs In it updates their status to "Online" and if a user clicks Logout it updates their status to "Offline"... The problem I have is that some users just click the exit button on their browser and … | |
I am new to PHP and have not yet learned all the syntax and commends but was wondering if an easy script can be made to copy files of the same name from one directory over to another directory thru a PHP script in other words if I have 2 … | |
I don't know if this is possible with php, but i am trying to set the background of a site to a series of randomly placed, random images of the same size. What i am curious about is whether there is a way to take a handful of images and … | |
G' day!i have my code here in searching a record..it runs very well..but i want to add an options..i want to add like this: [CODE]<select> <option name="course">course</option> <option name="surname">surname</option> <option name="department">department</option> <option name="email address">email address</option> <option name="student no">student no</option> </select>[/CODE] i want to add that code in my program..and i … | |
Hey Guys, I appreciate any and all help. I'm trying to print out the results of a query I've made to another server using the nusoap client. I'm successfully sending my XML Array to their WSDL web service and they are sending an XML response back. <RESULTS><TEXT>Success</TEXT></RESULTS> However all < … | |
Hi, I have developed an application a while ago and used CSS for the formatting of the generated web pages. As I am using Google Chrome, everything was working fine and I have tested it few times on Firefox and noticed slight differences. Yesterday, one of the users complained that … ![]() | |
Hiya, Ive been using sessions for my website login but dont actually seem to be able to get my head round the data and content of it! For example ... if im using a session that holds the username of the member which is used to indetify and check access … | |
hi guys, i just want to ask how could i input an action to a link?? the best choice was to create a button which will do the act, however, im having difficulties with it. now my resort was to add the code to the link..meaning instead of the submit … | |
Help, my forums worked great until I got over 1000 posts, but then they stopped ordering correctly. Whenever someone posts a new thread it puts it on the second page now. HELP! | |
Hello, I've wound up with a strange problem with my php script. The script goes into a SQL DB and checks the values of two different columns to see if they are equal. If the columns are not equal, then I store all of the possible values in column 1 … | |
Hello i have been trying this now for 2 weeks and its messing with my head, i can not seem to get a WYSIWYG editor working on my site, main page [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>my site</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> … | |
PHP is good for what kind of situation... my friends telling ASP is better than PHP... so how it is helpful.. ![]() | |
hello.. actually i am entering starting date. and also giving period in digits.for example 2yrs. to day date 22/01/2010. after 2years that date will 22/01/2012. how to find end date using javascript. | |
![]() | hi, my php/ mysql query code does not insert data to my table and prints out an error. pls help ive been at this for hours without figuring out what's wrong. my code: <?php mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("fppms") or die(mysql_error()); mysql_query("INSERT INTO employee record(Employee ID, Employee type, First … ![]() |
Ok this is frustrating, I am still learining how to scritp in php, and so far i have not done too bad... however i cant figure this out, i think if i got a few fresh eyes on this, you might see what i am not - the idea is … | |
Hello All, when I add/Delete data to my database (MySQL) using php, i discover that when i refresh the page my Add/delete script runs again and add (or attempt to delete) another copy of the record i added/deleted initially. How can I prevent a block of php script from running … | |
Hello, I am developing a site and right now I am facing a problem when I try to upload the code on the server, everything is fine and working there except the flash files, the ".swf" files are showing on the page when access them through the website but they … | |
Anyone, help me here. Is my code possible? I need to assign the total number of records from the database query to the graph of javascript. [CODE]]<?php mysql_connect("localhost", "aaaa", "aaa") or die(mysql_error()); mysql_select_db("aaa") or die(mysql_error()); $result = mysql_query("SELECT * FROM table WHERE field ='1'") or die(mysql_error()); while($row = mysql_fetch_array($result)) { … | |
Hi and I have the below php-gtk script but for some reason it is reporting the error "Not enough storage is available to process this command." in the command console but the application still loads. It only happens when I try to import a 1.75MB text file for processing. Does … | |
Hi, im having trouble i managed to create a password field and got everything working i then changed my mind and wanted to add a username field on to the login. im getting the following error and i have tried both && and || yet none seem to work Parse … | |
Hi, I've been looking for an avatar generator/maker script, does anyone know of one? | |
hi all, Im teaching myself webdesign, php and mysql from the fourms here and watching youtube videos. I have come across this error that I cant resolve. Its driving me crazy and i cant find a solution for it. I was hoping someone cant help. Im building a web subscription … | |
Hello again DaniWeb! I'm designing a dynamic website in PHP, and it's structured so that each page creates the necessary objects (based on what content is being viewed) which get the right information to display. Smarty then organizes this content and makes it look good. The problem is, I have … ![]() | |
I want my website to remember people's email when they post on my website. [CODE] <form method="post" action="formposting.php"> <input type="text" name= "title" size="22"> <input type="text" name= "email" size="22"> <?php if(!$_COOKIE['cookname']) { echo "<input type=\"checkbox\" name=\"remember\" id=\"remember\" /> Remember me on this computer"; } else{ echo $email; echo "Forget Me{delete cookie//help … | |
Hi! That's me again. And I'm still an idiot, and I need yours help. Terms of tasks: Show photos with the ratings. Problem: Rating display pictures. And if the first base photo have rating 4, the code for all the other photos, too, shows a picture rating 4. What am … | |
Hi! Akl I want to upload a file sizeed around 2GB. Could you help me? Thanx in advance | |
hey all i am stuck with this problem while i am trying to make a software. here i have a form that has to be filled by the user. form1, form2, form3 and form4. In form2 there are two radio button 'yes' and 'no'. So when the user selects yes … | |
![]() | Hi I got 1 static drop down list, 1 dynamic drop down list(shows content of a mysql table) and content of another mysql table on the same webpage. They are all placed on 3 different forms. The selected option in the first list triggers the 2nd list on the page. … |
can't delete records.. here's the codes.. [CODE] <?php mysql_connect('localhost','root',''); mysql_select_db('records'); ?> <?php if(isset($_GET['btndelete'])){ $position = $_GET['position']; if(isset($position)){ foreach($position as $val){ mysql_query( "DELETE FROM positions WHERE id='".$val."'" ); } } } ?>[/CODE] [CODE] <html> <head> <tittle> confirm </title> <script> function deleterec(){ if(confirm("Are you sure you want to delete?")){ return true; }else{ … | |
hello.. i did one simple task. but values are not holding after submit. how to solve this problem. below is my code. after interest field submit the form. automatically displays the monthly payment. but that value is not holding in the field.[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html … | |
Hi! I'm trying to install a php product that requires ioncube loader. I have followed several guides (they are all the same) for how to install it. Running ioncube-loader-helper.php tells me the location of the php.ini file. The server has a set of ioncube loaders, and the helper tells me … | |
hi there, i want to display my data coming from database..i could do that using a table, however the problem is that the table will just expand everytime there is data. what i want to have is a control which has a scrollbar which will display lots of data. i've … | |
Hi, Here I am having a dropdown named Category and another drop down named Sub category.There is one text box named zipcode which is filled with the previous request page.What happens is when I select any category the onchange event fires and a list of cars gets displayed.But parallely the … | |
please help me visualize an online examination, i dont know where to start...:icon_sad: | |
hi, How can convert an ANSI text file to UTF-8 by php?Or how can make UTF-8 text file with php? Thanks |
The End.