17,029 Solved Topics
Remove Filter ![]() | |
Hi frnds... i m trying to upload mp3 file ..this is my code.. [QUOTE]upload_max_filesize = 20M;//in php.ini[/QUOTE] [CODE] $tname = $_FILES["tphoto"]["name"]; $ttmp_name = $_FILES["tphoto"]["tmp_name"]; //Audio File Uploading.... if($_FILES['tphoto']['type'] == 'audio/mpeg'){ $dir="../../music/$aid"; move_uploaded_file($ttmp_name,"$dir"."/"."$tname"); } [/CODE] it displays no error...but, no output. can any body give me some suggestion plz... Thanks in … | |
Hi, I have recently designed a website for my new business. I have included a booking form which can be found here [url]www.n-v-m.co.uk/Booking.html[/url] I used Dreamweaver CS4 to create the site and 123-reg.co.uk is my web host As it’s my first attempt at making a website I realise I may … Web Development email php web-browser | |
I am trying to go through this tutorial [url]http://www.daniweb.com/tutorials/tutorial173026.html[/url] but when I load a php document in my browser I either get a blank page in the browser or dreamweaver opens the php and gives me a blank page! My web host is [url]www.123-reg.co.uk[/url] ... Will the problem be with … Web Development php web-browser | |
I'm trying to make a calculator in javascript. The buttons are already working, but I don't know how to separate the first input from the second input. We're not allowed to use global variables so I can't use the "flag" thing. please help, here's my code so far. thanks! [CODE] … Web Development javascript | |
While saving the html code, I accidentally saved my code as encrypted code. I don't remember what did I do. More importantly, Now I dont' now decrypt it. Please help me make it return as html code. Thank a lot! [CODE] 3C 21 44 4F 43 54 59 50 45 … Web Development html-css javascript | |
Hi, i am working on a member database. I need to get all the registrations except the current week. I have a "week" field in my database. This one is fine and echos all the records from week 1 to 8: [CODE]SELECT COUNT(*) FROM agents WHERE week < 9 and … Web Development php | |
Hi, I need help on creation imap mailbox. Im new to php. This is a code where have been created by previous programmer. [CODE] if (($USER_REG_IS_LOGIN) && ($tmp_imap_server)) { if (!$user_exist) { $form_password = $tmp_emailname . "_1234"; $request_cmd = "create_imap_user {$tmp_emailname} {$tmp_imap_server} $form_password"; $request_data = UserRegSvr::send_request($socket, $request_cmd); $request_data = unserialize($request_data); … Web Development php | |
Hi all, Over the last week or two i have been working on uploading images to mysql db, Whilst i have the image uploading to the correct location and the name of the image added to the database, i cant understand how to add the image location to the name … Web Development file-system image mysql php | |
Can any body plz help me , i want to install php apachi and mysql and configer them, can any body help me , i search on the net but the links are not working to downlonad them.plz help me Web Development php | |
please help me guys, i need to know how is it possible to make a line graph using php/javascrip/html. data will be coming from a live database, so basically the webpage will just plot the data coming from the database, but the problem is that, even the basic know-how's i … Web Development php | |
I made a registration script my problem is getting the errors to post in the div area. here is a picture: [url]http://screencast.com/t/OTcwNWMxN2Qt[/url] [CODE] <head> <LINK href="css.css" rel="stylesheet" type="text/css"> <title>Registration</title> </head> <div class="roundcont"> <div class="roundtop"> <img src="/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" /> <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post"> <table class="table"> … Web Development php | |
Hi, This is my URL [inlinecode]index.php?name=BSC&Subject=C++[/inlinecode] When I do [inlinecode]echo $_GET["Subject"];[/inlinecode], result is [B]C[/B] without ++ I also tried (string) and settype() functions but no luck How do I solve this problem? Thanks Web Development php | |
hi everyone, I have designed a web site which works fine in local server. but when i upload it on to server i get this problem, which really annoying me :@ I'm getting this warning, Warning: Cannot modify header information - headers already sent by (output started at C:\...\...\Domain.com\login.php:6) in … Web Development php web-server | |
Hi, I have a paginations script to display data from my database but i would like to paginate someones search results. I have this script but get an error that says "syntax error, unexpected '=', expecting '}'" for this if(!$start){$start = 0;} [CODE] <?php include ("connect.php"); $per_page = 20; $start … Web Development php | |
Hello I want to learn how to make a script, that reads 2 tabels to find and print top 10 users Table1: postname - userid Tabel2: username - id ( userid = id ) the script needs to count and print top 10 users with most posts #1 userA 1000 … Web Development php | |
Hi guys, This is my first post here. Actually wanted to insert record into an sql database (using sql server 2000 and visual studio 2000) I'm using a dataview to see if the user already exists. This, i've been able to retrieve and it works. Now if the user does … Web Development asp.net email first-post sql visual-studio | |
Hi I use the following form validation and it works all fine, except my email input does not get validated. Input type = email field name = emailto this is the code: [CODE]function formCheck(formobj){ // Enter name of mandatory fields var fieldRequired = Array("emailto","from", "emailfrom","zigi"); // Enter field description to … | |
Hi, I wanted to ask professional members who has built websites in the past wheter you include all your include files in the <head></head> section of your site. I split my design in two header-inc.php and footer-inc.php, obviously the <head></head> section will be in header-inc.php. Reason is most of my … Web Development php | |
Hi All I'm trying to build a page that has a captcha and allows for a file upload. Currently when I select a file, fill in the captcha and hit submit the file is uploaded to the server in a temp directory before checking the captcha. I need the captcha … Web Development php | |
hi.. im trying to put my data on a server & work on the same from other machine..im using win2003 as OS of my server & on the other machine's XP is the OS. my problem is, when i try to run my C# applications from the other machines, it … | |
I am try to put the finishing touches to a mail function, and would like to show an alert to tell the user the form has been submitted correctly. I would then like to redirect them to another page in the site. The alert works OK on its own, but … Web Development php | |
In the following code I just want to disable the textbox if “other Amount is selected”, radio element 7. I have been working at this too long cause I can’t see the problem. Can someone point out what I am doing incorrectly [Code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" … Web Development javascript javascript-jquery | |
Hi, I have a problem with IE7 (Works fine in FireFox!). I'm sending a Jquery AJAX POST request to get option values from a PHP script. The php script returns a bunch of the following: [code]<option value='x'>xxx</option>[/code] Ajax also sends a value to the PHP script, so if that value … Web Development javascript | |
Hi All! I found a simple star-rating system based on mootools, dhtml and css. It seems to work fine with one exception that I just can't seem to figure out. You set it up as in the following:[code] <td class='td_stars'> <ul id="price" class="rating onestar"> <li id="1" class="rate one"><a href="#" title="1 … Web Development javascript | |
Hey guys...I've run into a little issue (noob here). I’ve setup a little application for scheduling days + times in different rooms. I’m trying to implement some sort of an error check which determines is someone has already been scheduled for a certain day, time(range), and certain room. For example: … Web Development php | |
[CODE]<select name="splace" onchange="eval(this.value)"> <option value="javascript:show_loc('1');">Chennai</option> <option value="javascript:show_loc('2');">Coimbatore</option> </select>[/CODE] In the above code, in the option the value property is given as a javascript. Since in IE the onclick function doesn't work I've placed onchange in the select and then given the javascript in the option value. Now to save the … Web Development javascript php | |
Hi guys I'm looking for a starting point to have a login for a website. The situation is as follows - I have a common product list, with 3 price bands (gold, silver, bronze) When a gold customer logs in, I want to search the db for the products, and … Web Development php web-server | |
I want to use 3 DIV tags: 1) As Left Panel 2)Center Panel 3)On different page with contents How to use 1 DIV to open 3 DIV in 2 DIV? Is it possible? Web Development php | |
Hi, I am trying to create a private chat from hacking some opensource chat room. All going well to a point. I am trying to use some basic AJAX (noobie) to insert a field into a mysql db. It is doing what I want it to do mysql wise but … Web Development javascript | |
Hey guys! I am a beginner of php. so i don't know that which will be the best as a loop? While ? or For ? Can anyone help me please.... I want to do this...! Just count 1 to 10 and then add it... i mean 1+2+3+4+5+6+7+8+9+10 nothing much.... … Web Development php | |
Back again! I now need to check if a variable holds one of multiple values...I.E: [CODE=PHP]if ($cvalue == "Germany" OR "England" OR "latvia" OR "Africa") { echo "Do something" ; }[/CODE] In VB I'd just have used something like: [CODE]in("Germany" OR "England" OR "latvia" OR "Africa")[/CODE] Any help appreciated...digging through … Web Development php | |
Hi guys, Hope i'm putting this in the right place. Apologies if i'm not! I'm making a website for a sports suppliments supplier. I'm having some trouble with how to layout the database. I have a navigation menu which has all the categories listed. But some of my products are … | |
[B]Ok so I guess there are many threads about undefined indexes.[/B] I am trying to create a form in which a user can upload both textual information and an image. In my site its adding a watch included information and a picture into a database. I have two questions. First … Web Development php | |
Hi there, I'm struggling to get a simple if statement to work. I am passing a country though to a page from a previous page ( ?country=Poland) and then trying to evaluate it and display a specific bit of text if the country is for example'Germany'. Here's what I have: … Web Development php | |
hi all, and respect for seniors & experts, i m a free lancer vb6 programmer and wants 2 shift 2 web development. i m very much confused as 2 which combination of technologies 2 opt. to opt for open source or not., which client side technology and which server side. … Web Development client-server javascript open-source web-server | |
Hi all I've been trying to find a jquery list selection solution along the lines of the following. I want to have two boxes. One on the left that holds all the options to choose from and a box on the right that holds the options selected in the left … Web Development javascript javascript-jquery | |
hi.. Im trying to install SQL Server 2005 on my server.. but at a certain point it is giving an error which is unknown to me..im attaching a snap of the error.please let me know how to solve this error.. What does that domain account mean??? wher i can create … | |
Is there a way I can see what exactly is sent by curl in the post? With the body and headers and all. Thanks. Web Development first-post php | |
Hello, I have this in my CSS: [code] #contentbox a{ font-weight: bold; color: #c8a468; cursor: pointer; }[/code] And want to change the color with Javascript's function: document.getElementById, but when I use document.getElementById('contentbox a').style.color= "#d05048", I get an error that it doesn't know 'contentbox a'. I tried multiple things and searched … Web Development javascript | |
I am trying to group a list of event dates by their ending date. So if I have 15 events that end on the same date, I want all of those tr bgcolors to be red, then the next group, lets say 8 events all end on the same date, … Web Development php | |
I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?! | |
How can I execute a PHP script using command line? example plzz .. Web Development php | |
Hi, In my page I have a GridView in which I have an Item Template with a label and Edit Template with a DropDownList. Something like this: [CODE]<asp:GridView ID="MyGridView" runat="server" OnPageIndexChanging="MyGridView_PageIndexChanging" DataKeyNames="Id" OnRowEditing="MyGridView_RowEditing"> <Columns> <asp:TemplateField HeaderText="Use" ItemStyle-Width="140px" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:Label ID="UseLabel" runat="server" Text='<%#Eval("ImageUse")%>' /> </ItemTemplate> <EditItemTemplate> <asp:DropDownList ID="UseDropDownList" runat="server" OnDataBinding="UseDropDownList_DataBinding" … Web Development asp.net | |
Hello, I was going to post the full script but don't think it will ne needed. Basically i have this query: [CODE]// query db $query = mysql_query("SELECT * FROM `userinformation` WHERE `username` LIKE '%$search%' OR `email` LIKE '%$search%' OR `id` LIKE '%$search%' OR `first_name` LIKE '%$search%' OR `last_name` LIKE '%$search%' … Web Development php | |
![]() | Hi folks, I'm having a real "Dime Bar" moment! :-/ I have written a small function to display error messages. I can't work out why I have to use a preceeding slash to include my footer.php but not my header.php when they are both in the same directory. [CODE=php] function … Web Development php ![]() |
Hi all I'd like to know how/if you can pause a loop for a few seconds and let it start again from where it stopped. Web Development php | |
i am trying to use the explode function to take a variable as the string under consideratiom but its not working. can some one help me on this one please?? thanks [code] <?php $hostname = "localhost"; $username = "root"; $password = "hayden"; $database = "ecng3020"; $con = mysql_connect("$hostname","$username","$password"); if (!$con) … Web Development php | |
I'm having some trouble validating radio groups. I thought this would be simple enough but it's not turning out that way. The form is rather long so I have it broken down into sections, each in it's own div. The form shows the first 11 inputs and when you click … Web Development javascript | |
i am getting this error but i think there is no error. any one look at this [CODE]$affiliateForm = array( "username"=>array("User Name","text",""), "password"=>array("Password","password",""), "site"=>array("Your Web Site","text","http://"), "email"=>array("Your Email","text","yourname@yoursite.com"), "akey"=>array("","hidden",""), "ptype"=>array("Payment Method","select","check|paypal"), "pemail"=>array("Paypal Email","text",""), "address"=>array("Your Address","textarea","") );[/CODE] i am getting [B]Parse error: parse error, unexpected '=', expecting ')' [/B] on this … Web Development php | |
Hi I think Im dealing with an IE insertBefore bug, the script runs fine in Chrome, I have created my own modal box which gets inserted as a new node - the first inside the <body>... however, in IE, the new box is inserted within the first <div> inside my … Web Development daniweb-bug javascript |
The End.