39,326 Topics
| |
Hello, i am facing a little problem. my website page logo is cut a half mm when i use my 1366 x 768 screen resolution, win7, 64bit laptop and is not cut when i use my 1920 x 1080, win8, 64bit screen resolution laptop. Both using the same php code … | |
how to execute a php file after every half n hour without using schedular (cron jobs). i need to upload pdf files automatically from system to server after every half n hour.but without using cron jobs.Please help | |
I have my php page, in which i have 3 fields old pass, new pass, confirm new pass. I'm trying to chnge the password of my id from which i am logged in. The program first check in the database and change the password of the logged in user. I … | |
I am new in Wordpress. I have installed a plugin "Infinite Scroll". When I scroll down the page to load new articles into the page, a message appear "Loading...". I have tried to translate the message in admin panel, but that was not a translation, just a replacement of the … | |
Hello, I have multidimentional array. like: $skill_array={ Database,test db skill 2,0,1,2014-Mar,ZCZC,1 Framwork,test fm skill,0,1,2014-Mar,axaxax,0 Networking,test db skill 2,0,1,2014-Mar,yt89887i,1 Database,test db skill 2,0,1,2014-Mar,hkjk,0 } while showing this table in UI in javascript, I want to show table in sorted format of 0th index. i.e in above example, it should come as … | |
I have two table data as: - table Classifieds id | title | body | city | district| - table Locations id | label Relationship City of table Classifieds is Id two Locations Now I want using Fulltext Search when users enter keyword (title, body, label(USA, Canada...)) then it will … | |
| i dont know why but somehow my files are being upload to the server folder but not stored within db <?php include_once("conninfo2.php"); error_reporting(E_ALL); $usid = 1; if(isset($_FILES['files'])){ $query = "INSERT into files(`filename`,`fsize`,`ftype`,`uploadtimest`, `usid`) VALUES(:filename,:fsize,:ftype,now(), :usid)"; $stmt = $db->prepare($query); $errors= array(); foreach($_FILES['files']['tmp_name'] as $key => $error ){ if ($error != UPLOAD_ERR_OK) … |
Hi, I am a beginner at programing and I have to do this project where it is asking me to valid ISBN 10 and 13 using MySQL database to store the information. I checked my php code to validate ISBN 10 and 13 and it works, but when I try … | |
Having problems with a malware I had to reinstall Win7 OS with recovery mgr.After I had to reinstall all my web development tools such as Visual Basic Express 2008, Visual Web Developer Express 2010, SQL server express 2008, MySql, Workbench.I cannot reinstall PHP and PhpMyAdmin no matter what I try. … | |
Please help with this...say we have few subdomains domains on same server. blog.robots.com chat.robots.com forum.robots.com forum.robot.com generates the session id of a user. I want to share this session id with other domains....blog,chat... All for the purpose of not letting the user login twice on this domain How can I … | |
| Hi i am reworking on my password security on the register page so far it is okay apart from the fact that im getting this error: Fatal error: Call to a member function create() on a non-object ` $bcrypt = new Bcrypt; try { $email1->create(array( ` 'username' => Input::get('username'),` 'password1' … |
i have a pagination code but that one is for single page,becaz in that url was changed. so if i add 2 or 3 pagination in single page that url was not changed. someone help me | |
Dear team, I am facing difficulties to validate the below format. I want regular expression needs to be satisfied with the below condtion. $pattern = '/^\w[\w\s\.\%\-\(\)\[\]]*$/u'; $file_name = "(00)filename.jpg"; if(preg_match($pattern,$file_name)){ echo "Pattern matched"; }else { echo "Pattern not matched"; } I have tried several ways. But, the main problem is … | |
hi guys so this page where part of the form elements are made arrays by adding square brackets to the input names. the reason i did that is because that part of the form is handled in jquery [this post(my post about jquery)](http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/478800/show-form-elements-based-on-dropdown-value) if you take a glimpse will understand … | |
Hi guys, I need your help. I have .xml file in download directory on my server. whoever visit my site page (Myxmlfilename.xml) user should be able to download these files and other files should not. I am trying to achieve above but no luck... does anyone know how I can … | |
how to edit in the post in php? i m using update query but no working? can anyone suggest me any idea and please give me suitable example | |
I have this form to send an email and the visitor can send an attachment with his email as will everything gos well the email sent but the attachment comes to the email like this if he uploaded any C.V the C.V will be attached to this Email --_1_c4fe3315ccb7d6076c71d64ec5265ecc Content-Type: … | |
Hello I faced this type of Error in codeigniter. Can you suggest me any solution... *ERROR : You must use the "set" method to update an entry.* In Model Code is.. $this->db->where('user_id',$user_current_id); $this->db->update('admin_resume_expertise',$data); Thank YOu | |
Simple JSONReader code not working I am trying to use JSONReader (along with PHP & XPATH) to parse a very large JSON file, then display search results. A stream parser (such as JSONREader) is recommended over JSON_decode when parsing large files. This simple code below is not displaying any results … | |
hi there ; I want to search for student from my database using select method , like you choose the ID then it shows ID search Textbox and go on ... how can i do it | |
Hi i want pattern for checking no white space. | |
i have a registration form which code are below <html> <head> </head> <body> <table width="350" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><form name="form1" method="post" action="user_reg_get.php"> <table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td colspan="3"><strong>Sign up</strong></td> </tr> <tr> <td width="76">Name</td> <td width="3">:</td> <td width="305"><input name="name" type="text" id="name" size="30"></td> </tr> <tr> <td>E-mail</td> <td>:</td> <td><input … | |
Hi all, I've a problem with my insert sql..I didn'y know why. here is my insert sql $goodsDesc = $_POST['goodsDesc']; $k8goodsQty = $_POST['k8goodsQty']; $valuePerUnit = $_POST['valuePerUnit']; $sql_k8goodsIn = "INSERT INTO k8_goodsin (k8regID,goodsDesc,k8goodsQty,valuePerUnit) VALUES ( '".$k8regID."', '".addslashes(strtoupper($goodsDesc[$y]))."', '".$k8goodsQty[$y]."', '".$valuePerUnit[$y]."')"; for goodsDesc the input is like this goodsDesc = 2-1/2" suction pump … | |
I am baffled at this webform on my responsive site which works perfectly fine in all iOSdevices and android tablets. However on android smartphones, specifically samsung s3/s4 -when the text box is clicked- the keyboard appears for less than a second then suddenly disappears. Should a set focus rule be … | |
How to upload files from a system to server automatically after every 10 mins | |
Hello Community, I'm trying to use dynamic subdomains which works but I'm only wanting .htaccess to to send subdomains without letters, numbers and underscores (_) to the 404 page. Here is my code. Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / #Remove www. RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [QSA,NC,L] … | |
Hi Everyone, get a really strange problem I have been trying to fix for a few days now and I am unable to get it working. I have the following script as update.php file if (isset($_GET['tx'])) { $tx = $_GET['tx']; // collect all parameters herer $request = print_r($_REQUEST, true); $sqlcode … | |
I have a php page which is logged in with a user account. Now i want to change my password here, also I'm getting two errors here. "Notice: Undefined variable: password in C:\xampp\htdocs\fyp\cms\cms-settings.php on line 73 Warning: mysql_affected_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\fyp\cms\cms-settings.php on line … | |
| I'm wanting to create an sql table, when a user registers at my site. This table will eventually be used to log messages. The code follows: <?php require('../connect/kidsblogsconnect.php'); $name=trim(mysql_real_escape_string($_POST['name'])); mysql_query("CREATE TABLE '$name'('sender' VARCHAR(30), 'message' VARCHAR(300), 'dateposted' DATE)") or DIE(mysql_error()); ?> When I run it, I get: You have an error … |
Hi, I'm running into a strange issue on my iPage hosted version of my website. When logging into my system, `$_SESSION["id"]` contains the User ID of the logged in user. Somewhere else on my site I am doing something like this to retrieve the ID of a page: if (isset($_GET["id"])) … |
The End.