39,320 Topics
| |
i have been trying to upload music file but the file will not upload but all the picture upload are successfully . i need some help . i want to upload music file to a directory in my server but i have been having problems with it. unable to upload … | |
I have Android app and 1 php application. I want to invoke android function when the button is clicked on my php application (on latop-pc browser). So basically Php to android communication. How to achieve that? | |
How to clear form, after submit, but after data passed? | |
s their an error in this code ?? !! it display Image uploded successfully but it isn't !!!!!!! if(isset($_POST['submit'])) { $query="insert into POST (Title,SubTitle,PostDetail,PDay,PMonth,PYear) values('$_POST[_title]','$_POST[_subtitle]','$_POST[_detail]',". date("d").",".date("m").",".date("y").")"; //echo $query; mysql_query($query); $msg="post added sucsessfully"; if($_FILES['_postimage']['tmp_name']!= "") { move_uploaded_file($_FILES['_postimage']['tmp_name'] ,$_SERVER['DOCUMENT_ROOT'].'/Aseelblog/POST_imgs/a.jpg'); $msg.="</br>Image uploded successfully"; //DOCUMENT_ROOT=/var/www/example ///// } else { $msg.="image File too large or … | |
hello guys, its been a while since I used htaccess file, but I know how to use it. but the only problem I face is when using in this way I have page for view video watch.php?v=qvLqn2NEsOE&title=Networkplus_tutorials.html first I've create rewrite rule in .htaccess file `RewriteRule ^v-(.*)-(.*).html$ watch.php?v=$1&title=$2` so if … | |
move_uploaded_file gives Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this … | |
hi, how to send email when the server in down in php with cron ? i have 4 server and i want to check every 2 minutes that if any server is down , email send to my gmail account . email send once in 24 hrs not after every … | |
If anybody is intrested in helping to make a daniweb android send me a pm. | |
Anybody can explain about my question i have search over the web but never find right answer ? | |
For 2-3 years in have been coding in php , then for some time in codeigniter. Now i want to built some business type application like ERP and i am confused which language to choose ASP.NET or java As ASP.NET is growing very rapidly and has large library to do … | |
i am doinf online test so i have stode qus and and in mysql . and now i am showing all qusetion at a time . but i want one quse at a time and i want to use next and privius button . help me how can i use … | |
Hey guys i need help, I dont know how to remove that irritaing notice....here's the code <fieldset> <legend>Categories</legend> <?php $stmt2 = $db->query('SELECT catID, catTitle FROM blog_cats ORDER BY catTitle'); while($row2 = $stmt2->fetch()){ if(isset($_POST['catID'])){ if(in_array($row2['catID'], $_POST['catID'])){ $checked="checked='checked'";} else{ $checked = null; } } //this is where it says undefined variable echo … | |
what I'm on the hunt for is a php script using mysql or mysqli that searches for results. This part is the easy part the hard part is this. I'd like it to search 1 database to to yeild 2 sets of results with 1 search. It would use a … | |
I am tring to make a search script, but I have no idea how and would appreaciate if anyone could give me samples or websites. thanks | |
Hello Community, I was wondering if there is a way to call a [pNotify](http://sciactive.com/pnotify) notification using php. So after I submit a form I can use PHP to create the popup. | |
Hello Community, I have spent almost an hour looking for a solution to combine several pictures side-by-side but can't seem to find anything. I want to be able to get a dozen pictures (.png) and place them to the right of the previous picture then combine them as one (.png) … | |
Hi, I have develop a quote form in php and after submission it will e-mail me all the inforamtion correctly but i have problem not getting the information from drop down list and also have browse field so user can upload this file if he wants. PHP Code: <?php if(!$_POST) … | |
I am using a php thumbnail script; its working on server but not on my local server. How I can run this script into my local server too ? | |
function generateHashLink($service_domain, $file_path, $url_signing_key ,$expiry_timestamp = NULL){ // + and / are some of represented chars of based64 encoding (8 bits) // + is 62 and / is 63 and these char should be replaced by other predefined chars $search_chars = array('+','/'); $replace_chars = array('-', '_'); if($file_path[0] != '/'){ $file_path … | |
Hi, I want to take php string in javascript variable. How to take it? php string includes \n so while taking it in variable it shows me error of "SyntaxError: unterminated string literal" I got one solution form stackoverflow that use json_encode but after use of json_encode is giving me … | |
How can I use PHP to create login-controlled web pages? | |
Dear friends , i've got a problem with ecommerce integration to my payment based website , i want to integrate the paypal or any other payment service provider to make payment. i'v tried using some php code but it didn't worked out , so what do i need to do … | |
I tried inserting as serialize to multiple selected but when i want to retrieve those multi selected in the select box is not working echo "<td class='tbl1' width='15%'>Format</td><td class='tbl1'><select name='format[]' multiple='multiple' class='textbox'>\n"; $sel = ($_POST['format'] == $data['format'] ? " selected='selected'" : ""); echo "<option value='".$data['format']."'$sel>".$data['format']."</option>\n"; echo "</select></td>\n"; echo "</tr>\n<tr>\n"; | |
everything newww....!!! hoping to learn dis language asap.. any reviews for d beginner?? | |
PLease help me how to send password to email <form name="forgot" method="post" action="<?php $_SERVER['PHP_SELF'];?>"> <p><label for="email">Email:</label> <input name="email" type="text" value="" /> </p> <input type="submit" name="submit" value="submit"/> <input type="reset" name="reset" value="reset"/> </form> <?php if(isset($_POST['submit'])) { $connect=mysql_connect("localhost","root","") or die("Could not connect to database"); mysql_select_db("dbsalon") or die(mysql_error()); $email = $_POST['email']; $sql= "SELECT `password` … | |
Hello I have got an php probid webesite. everything worked well until I restored an backup. I need someone who can help me fixing following errors that appeared after restoring backup. - I can not upload pictures and mediafiles to an auction or in admin page - second language --> … | |
i had some trouble when updating a mysql field, i had 2 text fields and 1 textarea fields, both the text fields updated ok through this query: but textarea field is not updating.. edit.php <?php include('connect.php'); $id=$_GET['id']; $result = $db->prepare("SELECT * FROM telugunews WHERE id= :userid"); $result->bindParam(':userid', $id); $result->execute(); for($i=0; … | |
please help me on this topic with sample code.thanks | |
I have little problem in my wordpress template it showing me the the posts in decending form (the oldest posts showing first) Is there any way to customize this code and add an orderby little function in it? please help me in this <?php $i = 0; if ( empty($image_width) … | |
Hi I want that a div will be shown if a specific facebook page is not liked. Say I have a page facebook.com/abcd Now I want that if visitor liked the page then show content otherwise it will show like button. How can I do that. plz help |
The End.