52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for a5opyan

I want to increase the limit of upload size max, but because I using shared hosting, I cannot edit php.ini. Then I try to edit my .htaccess file. I added these lines: php_value upload_max_filesize 700M php_value post_max_size 700M php_value max_execution_time 600 php_value max_input_time 600 When I test it in localhost, …

Web Development file-system php
Member Avatar for a5opyan
0
400
Member Avatar for nagatron

Hallo to all web developers, I have a problem in load PHP in mozilla fire fox. . .I am using XAMPP web server. My PHP file is currently stored in this path [COLOR="Red"]C:\xampp\htdocs\test\index.php[/COLOR]. Whenever I run my PHP in mozilla it won't display anything even just a simple "hello world." …

Web Development php web-server
Member Avatar for koford
0
2K
Member Avatar for Stefce

Why am getting error when i think it should work fine **Error** Fatal error: Wrong SQL: INSERT INTO kladilnica (Username, Bet, Win, reg_date, Odds, isActive, ticket_id, isShared, is_winned, Location) VALUES ('Stefan', 100, 3500, '2017-02-06', 66, 1, 351358728, 0, 0, '') Error: in C:\xampp\htdocs\bootstrap\navigation.php on line 257 **Code** $sql = "INSERT …

Web Development php sql
Member Avatar for cereal
0
331
Member Avatar for gentlemedia

Ok... back to my PHP/Wordpress adventure. In my testimonials post type I have added 5 custom fields and 2 fields are not mandatory which means they can be empty. One of them is the url field which I want to output within my while loop with a different HTML when …

Web Development mysql php wordpress
Member Avatar for cereal
0
2K
Member Avatar for gentlemedia

Aight folks! So I'm trying to do some custom coding within Wordpress and my plan is to create custom post types which I want to display within custom widgets. I thought that would be fun for a learning experience.... ahum... and I wanted a widget/plugin that outputs some proper semantic …

Web Development html-css php wordpress
Member Avatar for gentlemedia
0
595
Member Avatar for AndreRet

Hi to all the old familiar faces, have not been here for a while... I have read up on tons of samples and answers (and even more on how cryptography works) but none answers my scenario. I am creating a new user from desktop app in VB.Net. User need to …

Web Development mysql php vb.net
Member Avatar for AndreRet
0
575
Member Avatar for Susan_5

I need a little advice. I am working on a webpage that includes tabbed panels that use hidden checkboxes to switch between panels and, for smaller devices, a collapsing menu that triggers with a hidden checkbox. I have tested this page on a number of browsers and operating systems (can't …

Member Avatar for gentlemedia
0
295
Member Avatar for mattyd

I want to collect basic user information when they land on an index page, such as: IP Country City State Zip Code I've looked into sites such as ipinfo.io that offer a service regarding these details, but think it may be easier to collect the same info via PHP. From …

Web Development mysql php
Member Avatar for Dani
0
448
Member Avatar for amith_ami

I have affiliate api of amazon,ebay,flipkart and snapdeal. I want to combine all api results to my web page with pagination. Like this website https://www.compareraja.in/mobiles.html If possible please suggest any ideas. I am using opencart for development.

Web Development api mysql php
Member Avatar for cereal
0
472
Member Avatar for SimonIoa

Hello i want to do a count from 1 to 30 (1,2,3,4,5,6,7,8,9 etc) with javascript I did this var i = 1; if(i<=30) { i++; } '<span>#'+i+'</span>' all good but the count starts from 0 not 1 as wanted

Web Development display javascript
Member Avatar for SimonIoa
0
201
Member Avatar for SimonIoa

Does anyone know what is the correct image size for Facebook. I mean if it is below some certain pixels it doesnt show the og:image. You may see what i mean here https://www.rovespier.com/uploads/Untitled-111.png

Web Development image
Member Avatar for cereal
0
288
Member Avatar for Stefce

Is it good idea/possible to encrypt everything in your database (Emails, User Input, Passwords :), everything.. )? Is there something which will shut down the current PHP script OR website entirely ? **EDIT: This is not sponsored queston i have not donated any money, why is `Sponsored` badge at my …

Web Development php
Member Avatar for Dani
0
191
Member Avatar for shany0786

I have scenario where one user can refer two codes to other one will become right and other left.Now this right can have two child left and right and so on same for left child user.... So this is binary tree like strucutre so i am selecting a user from …

Member Avatar for shany0786
0
350
Member Avatar for davy_yg

Hello, I am looking for browser simulator to create responsive website. Where to find it? How to create a quick responsive website? For PC, Handphone and Tablets.

Web Development html-css
Member Avatar for jkon
0
299
Member Avatar for davy_yg

Hello, I am trying to create bar chart with html but how? Country Bar Chart 3D https://www.freshdesignweb.com/css-jquery-graph-bar-pie-chart/ I try to copy the bar chart but it does not work out well. Please help. Nothing appears after I copy. I wonder if I copy the code correctly. http://codepen.io/miyavibest/pen/Bfima

Web Development
Member Avatar for diafol
0
368
Member Avatar for Violet_82

hi guys, I came across something rather interesting today. Basically at the moment I'm trying to add multiple spans with a background image to a horizontal div so that the final product looks something like a large ruler ( I use an image with a little black tick to simulate …

Web Development html-css javascript
Member Avatar for Violet_82
0
277
Member Avatar for alina_3

I am writing a android and windows native app. The native app stores the login details as reated for mulitple other web apps, and logs them into this when browsing to them from the native app. one of the buttons in my app open a [prestashop](https://www.siteground.com/tutorials/prestashop/) site for a authenticated …

Web Development android xml
Member Avatar for rproffitt
0
659
Member Avatar for RoDaGo

Hi, I've had a report that my website has an XSS vulnerability (specific details have not yet been provided). Can anyone recommend any software that I can use to test my site for weaknesses please? Thank you

Web Development
Member Avatar for RoDaGo
0
141
Member Avatar for Adolf_1

I am building a system that will take about 20 million records. I am confused, if I should put all these records in one table or I should split it among severals tables to speed up the performance.

Web Development mysql
Member Avatar for Adolf_1
0
173
Member Avatar for gkumaravel

I want to Develop custom mail client using Asp.Net MVC and C# For my own mail domain (for ex:- myname@mydomain.com) I don't know Is this Possible or Not ? because I am very new to .Net Web Applications If it is Possible I want the following features **1. Send & …

Web Development api asp.net
Member Avatar for Dani
0
491
Member Avatar for monst3rworld

Hi Everyone, How are you all? Friends i m new on daniweb, and i just want to know that how can i make diamond with stars (*) using "For" Loop in PHP. My Teacher Gives me an assignment to make like this... [code] for ($a=1; $a<=5; $a++) { for($b=1; $b<=5; …

Web Development php
Member Avatar for Krishna_23
0
2K
Member Avatar for davy_yg

site/views/index.php <?php foreach($pic as $pic_item): ?> { <img src="<?php echo base_url('assets1/images/slider/'.$pic_item->pic_item );?>"> } <?php endforeach; ?> controllers/Cspages.php public function index() { $this->load->model('gallery_model'); $pic_unique_id = 18; // slider $data['pic'] = $this->gallery_model->get_picture($pic_unique_id); $this->load->view('index', $data); } models/Gallery_model.php public function get_picture($pic_unique_id) { $query = $this->db->get_where('galleries_pictures', array('picture_unique_id' => $pic_unique_id)); return $query->result(); } How to fix …

Web Development php-codeigniter
Member Avatar for Mark_k
0
306
Member Avatar for Jacob_10

HI Dani, I am working on a dissertation project, based on a library management systems. There are a number of features as admin, that needs to operate, which are as follows:- 1. Inserting new books' info 2. Issuing books 3. Fines 4. Editing books details 5. Return books 6. Multisession …

Web Development apache css-bootstrap php
Member Avatar for diafol
0
246
Member Avatar for Siberian

I was able to produce what I want using Adobe Animate. I want to reduce the amount of [code](http://codepen.io/Sheep/pen/VPPyOJ), as Animate inserts extra code that from my perspective seems useless ?

Web Development javascript
Member Avatar for gentlemedia
0
337
Member Avatar for janicemurby

hi i have the following form where a member chooses how long they want to be be displayed on another page like example below <select name="hours"> <option value="1"<?php if(!empty($hours)) {?><?php if($_POST['hours']=="1") { echo "selected"; } ?><?php }?>>1</option> <option value="3"<?php if(!empty($hours)) {?><?php if($_POST['hours']=="3") { echo "selected"; } ?><?php }?>>3</option> <option value="6"<?php …

Web Development javascript javascript-jquery php
Member Avatar for diafol
0
229
Member Avatar for Himanshu Chawla

Here is my HTML Code: <div class="container"> <div class="row db-padding-btm db-attached"> <div class="col-xs-12 col-sm-3 col-md-3"> <div class="db-wrapper"> <div class="db-pricing-eleven db-bk-color-one"> <div class="price"> <sup>$</sup>99 <small>per quarter</small> </div> <div class="type"> BASIC PLAN </div> <ul> <li><i class="glyphicon glyphicon-print"></i>30+ Accounts </li> <li><i class="glyphicon glyphicon-time"></i>150+ Projects </li> <li><i class="glyphicon glyphicon-trash"></i>Lead Required</li> </ul> <div class="pricing-footer"> <a …

Member Avatar for diafol
0
468
Member Avatar for Jacob_10

Hi Dani, I have already posted for the first code, now i want to move on to the next which is issuing books. (due to the closeness of the deadline, i will be posting all areas where i'm having problems) The issue_book.php page is supposed to capture the ISBN, current …

Member Avatar for diafol
0
614
Member Avatar for mark_62

I'm having problem using Thunderbird sence this issue from few weeks is there any solution or Mozilla just no more.

Web Development
Member Avatar for Reverend Jim
0
191
Member Avatar for Akshay_5

I have a database with only one table which has around 2 Million rows and 60 columns. I created a php application with multiple search filters like name, country, state, surname, domain etc which will filter and display the result in HTML table. But the problem is, every text field …

Web Development mysql php
Member Avatar for john_111
0
2K
Member Avatar for shany0786

Hello every one i am having one doubt i have a set of links[url].Now there is pave ackages like 6 links,25 links package. if two user select 6 link each day and both will have same links[url] .now i when user log in then on adversitment page he visit each …

Member Avatar for shany0786
0
726
Member Avatar for Carlo_1

Hi this is my last try before I give up on Forums. I have been asking this question many times, searched the whole Internet and found no answer so far. Can somebody tell me how to insert data in a TablePress table from a form on a webpage(yes like a …

Web Development php
Member Avatar for rproffitt
0
838
Member Avatar for complete

I have my fresh Drupal 7 web site up and running. I am currently testing it. My first test is to try the functionality of creating a new user. I tested added myself (no, not my admin account -- a different one with a different email address). The new user's …

Web Development
Member Avatar for complete
0
231
Member Avatar for davy_yg

Hello, Sending messages to this contact address giving an error message. Can anyone interpret why the error message appearing? ----- Forwarded Message ----- This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is …

Web Development email php-codeigniter
Member Avatar for cereal
0
207
Member Avatar for bharathi_2

i did one quiz application using php..in that i display 3 questions from database depending on the category the user select...i display one question per page..when user click on next button i display the next question...and i put timer for every question..when we click on next button every time..i display …

Web Development php
Member Avatar for diafol
0
188
Member Avatar for Violet_82

HI guys, I wonder if you can help me at all. I'm going to be involved in a "data visualization" project, meaning that I have to find a good way to visualize some data. What do you mean I hear you say? Well, we have some data and we have …

Web Development javascript
Member Avatar for pty
0
453
Member Avatar for codemonkey88

I have built a website for a client, which looks fine on my machine and in an emulator, but alas won't load for the client. They said it is fine on windows, but not on a mac, where they seam to be using chrome. Looking at the screenshots, it appears …

Web Development javascript perl
Member Avatar for codemonkey88
0
200
Member Avatar for davy_yg

Hello, I am trying to open pdf link that I place through tinymce. I add the link button through toolbar add or plugin in tinymce: https://www.tinymce.com/docs/plugins/link/ http://www.gsa-constructionspecialist.com/articles/article/detail/visi-dan-misi-training-names-gsa I wonder why I cannot open the pdf link that I place without having to enter the cpanel password? I already set the …

Web Development cpanel pdf php-codeigniter
Member Avatar for diafol
0
282
Member Avatar for Jacob_10

Hi I'm new to php,i need a code for issue and edit in library management system can someone please help

Web Development mysql php
Member Avatar for JamesCherrill
0
125
Member Avatar for phphp

Sir I have following codes on login.php <?php error_reporting(E_ALL); ini_set('display_errors', 1); require_once("../includes/connectsql.php"); require_once("../includes/functions.php"); $error = false; $cerror=""; $cur_id=0; $cur_user=""; $cur_email=""; $mypass=""; if(isset($_POST['login'])){ $muser=clean($_POST['username']); $mpass=clean($_POST['password']); $mypass=SHA1($mpass); if (!preg_match("/^[a-zA-Z0-9]+$/",$mpass)) { $error = true; $cerror="Password must contain only alphabets and space"; } if(!filter_var($muser,FILTER_VALIDATE_EMAIL)) { $error = true; $cerror = "Please Enter Valid Email …

Web Development php session
Member Avatar for diafol
0
342
Member Avatar for davy_yg

How to change the text area size? I already try changing the col width but the size still does not adjust the real width. <div class="widget-box"> <div class="widget-title"><h5>Email Templates</h5></div> <div class="widget-content"> <form action="submitcontent" method="post"> <table border="0" style="width: 100%;"> <tr> <td>Title:</td> <td><input type="text" name="email_title"></td> </tr> <tr> <td>Body:</td> <td><textarea name="email_body" col="40" width="200">

Web Development
Member Avatar for diafol
0
282
Member Avatar for shany0786

..... for (i = start_from; i < finish_by; i++) { var todayObj = new Date(); var current_hour = todayObj.getHours(); console.log(current_hour); var dateObj = new Date(date); if((dateObj.toDateString() == todayObj.toDateString()) && i<=current_hour){ /*no print*/ }else{ var time_in_12 = contvert_in_12_hours_time(i,(i+1)) content += '<div class="col-md-10 col-md-offset-1 avail_time">\n\ <input title="Book time slote" type="button" class="set_appoint_time unselected_time" …

Web Development javascript
0
170
Member Avatar for Lloyd_4

Hi Everyone - I keep getting the following error messages in my log file [19-Jan-2017 22:16:46 UTC] PHP Notice: Use of undefined constant CURLOPT_httpsHEADER - assumed 'CURLOPT_httpsHEADER' on line 22 [19-Jan-2017 22:16:46 UTC] PHP Warning: curl_setopt() expects parameter 2 to be long, string given on line 22 This is the …

Web Development php
Member Avatar for Dani
0
463
Member Avatar for davy_yg

Fatal error: Call to a member function get_where() on a non-object in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\masterlinkci2\application\site\models\gallery_model.php on line 10 I try this : Line 10: $query = $this->db->get_where('galleries_pictures',array('pic_id'=> $pic_unique_id)); class Gallery_model extends CI_Model { public function get_picture($pic_unique_id) { $query = $this->db->get_where('galleries_pictures',array('pic_id'=> $pic_unique_id)); return $query->result(); } } IN Controller: public function index() …

Web Development php-codeigniter
Member Avatar for davy_yg
0
2K
Member Avatar for UI

Fellow Php Developers, Googled but no luck to get Php 7 sample snippets for my learning purpose. Can you be kind enough to give me code snippets in Php 7 so I can learn Php 7 faster while gaining work experience building scripts ? I have tailored (but not built) …

Web Development php
Member Avatar for rproffitt
0
978
Member Avatar for rajesh_26

http://epds.telangana.gov.in/FoodSecurityAct/ this website is responsive but when iam zooming in and zooming out all html elements are messing up **any one any sugesstions are appreciated thanks in advance**

Web Development html-css
Member Avatar for ryantroop
0
220
Member Avatar for UI

I would like to learn Php 7. Php 7 tutorials are available online (tutorialspoint.com, etc.) for those who already know previous version which I know not. Been aiting ever since late 2015 but no proper tutorials out yet. php.net is a reference manual and not a tutorial for beginner. Q1. …

Web Development php
Member Avatar for rproffitt
0
333
Member Avatar for mattyd

An odd thing I've never seen or had occur in all the years of web dev: The other day I got some code from Git-Hub and added it to my index page. I decided not to use the code and removed it. I then noticed that the Git-Hub favicon image …

Web Development html-css image
Member Avatar for rproffitt
0
336
Member Avatar for Andera

I am trying to install Zend via a composer command in Linux. I am following the official Zend tutorial. And I am able to make a simple application, which is working perfectly. However, when I follow this tutorial's advice to use composer development-enabl e. But an CommandNotFound Exception is appearing …

Web Development apache api javascript-jquery json php
Member Avatar for Daniel_69
0
395
Member Avatar for Said_4

is there any one that making a nav menu for html5 web page without <list> <ul> <li> commands ?

Web Development
Member Avatar for Dani
0
143
Member Avatar for ryantroop

NOTE: Viewed and tested in MS Edge 25.10586.627.0 MS EdgeHTML 13.10586 https://jsfiddle.net/qgg86g7y/1/ As you can see in the fiddle, if 50 elements are displayed and calculated, a scroll bar will appear. 51 or more and the scrollbar will not appear, and scrolling is impossible. Is anyone else seeing this behavior? …

Web Development html-css javascript web-browser
Member Avatar for rproffitt
0
442

The End.