39,395 Topics

Member Avatar for
Member Avatar for kings

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

Member Avatar for mohamedsafiq
0
1K
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
96
Member Avatar for Dhruvi Shah

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. …

Member Avatar for diafol
0
320
Member Avatar for hno

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 …

Member Avatar for kireol
0
85
Member Avatar for dami06

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 /** …

Member Avatar for almostbob
1
269
Member Avatar for nl18663

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 …

0
52
Member Avatar for motters

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 …

Member Avatar for cwarn23
0
108
Member Avatar for cloud09

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 …

Member Avatar for Lsmjudoka
0
104
Member Avatar for sfrider0

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.

Member Avatar for kireol
0
76
Member Avatar for theories

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 …

0
86
Member Avatar for wisefool

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. …

Member Avatar for wisefool
0
63
Member Avatar for Midnite002

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 …

Member Avatar for Midnite002
-6
148
Member Avatar for gagan22

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 …

Member Avatar for Phaelax
0
70
Member Avatar for motters

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]

0
227
Member Avatar for Chosen13

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 …

Member Avatar for CJesusSaves
0
4K
Member Avatar for Midnite002

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 …

Member Avatar for Ezzaral
0
88
Member Avatar for the0ry

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 …

Member Avatar for the0ry
0
144
Member Avatar for takeshi

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 …

Member Avatar for takeshi
0
822
Member Avatar for coolguy20

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 < …

Member Avatar for mitcrellim
0
199
Member Avatar for almahmeed

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 …

Member Avatar for diafol
0
175
Member Avatar for justted

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 …

Member Avatar for vaultdweller123
0
85
Member Avatar for xuexue

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 …

Member Avatar for vaultdweller123
0
1K
Member Avatar for Chosen13

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!

Member Avatar for vaultdweller123
0
97
Member Avatar for hbat66

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 …

Member Avatar for vaultdweller123
0
194
Member Avatar for nats01282

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" /> …

Member Avatar for pritaeas
0
304
Member Avatar for anu.reka85

PHP is good for what kind of situation... my friends telling ASP is better than PHP... so how it is helpful..

Member Avatar for diafol
-1
116
Member Avatar for muralibobby2015

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.

Member Avatar for muralibobby2015
0
79
Member Avatar for sakura_fujin

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 …

Member Avatar for sakura_fujin
0
94
Member Avatar for chuckjessup

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 …

Member Avatar for pritaeas
0
64
Member Avatar for emmanueloladele

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 …

Member Avatar for newtoweb
0
5K
Member Avatar for architact

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 …

Member Avatar for hemgoyal_1990
0
94
Member Avatar for aneeka

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)) { …

Member Avatar for aneeka
0
105
Member Avatar for cwarn23

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 …

Member Avatar for cwarn23
0
189
Member Avatar for ~Redous

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 …

Member Avatar for ~Redous
0
134
Member Avatar for Jak Dude

Hi, I've been looking for an avatar generator/maker script, does anyone know of one?

Member Avatar for hoffin
0
717
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
112
Member Avatar for crh0872

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 …

Member Avatar for diafol
0
125
Member Avatar for anu.reka85
Member Avatar for tunde011

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 …

Member Avatar for vaultdweller123
0
114
Member Avatar for catcoffee

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 …

Member Avatar for catcoffee
0
85
Member Avatar for manojjena1982

Hi! Akl I want to upload a file sizeed around 2GB. Could you help me? Thanx in advance

Member Avatar for kireol
0
112
Member Avatar for nehashri

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 …

Member Avatar for amd_k8
0
117
Member Avatar for michelleradu

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. …

Member Avatar for vaultdweller123
0
227
Member Avatar for takeshi

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{ …

Member Avatar for vaultdweller123
0
141
Member Avatar for muralibobby2015

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 …

Member Avatar for nav33n
-1
157
Member Avatar for ribot

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 …

Member Avatar for ribot
0
169
Member Avatar for xuexue

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 …

Member Avatar for CJesusSaves
0
129
Member Avatar for khadrani_arif

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 …

Member Avatar for CJesusSaves
0
759
Member Avatar for aneeka

please help me visualize an online examination, i dont know where to start...:icon_sad:

Member Avatar for amd_k8
0
92
Member Avatar for hno

hi, How can convert an ANSI text file to UTF-8 by php?Or how can make UTF-8 text file with php? Thanks

Member Avatar for amd_k8
0
72

The End.