52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Joel100

I'm looking to improve our log management, in quick search I've found a bunch of relevant solutions (LogEntries, Loggly, Stackify, Sumologic), but I wanted to see if anyone has an experience with any of those.

Web Development asp.net
Member Avatar for Joel100
0
111
Member Avatar for subbu_1

I have code like below <?php if(true){ global $search; $search = "hello"; } elseif(true) { echo $search; } ?> I am unable to access $search value from if() block to elseif() block, is my approach is wrong? please anyone tell me any other way to access variables from one block …

Web Development php
Member Avatar for bnmng
0
264
Member Avatar for mjb925

I have 4 different dynamic variables that change per user (age, gender, country, approval rating) What I need to do if create a conditional if statement where it checks to see if all or any are correct. I can get it to work with all, and can get it to …

Web Development php
Member Avatar for Squiva
0
177
Member Avatar for jonlloydd

I am trying to create a PHP PDF uploader that prints the filename type and size. However when I click the upload button it says "Upload failed with error". If anyone could help with this I would really appreciate it! <?php $allowedExts = array("jpg", "jpeg", "gif", "png", "pdf"); $extension = …

Web Development file-system pdf php
Member Avatar for registerers
0
262
Member Avatar for subbu_1

html form // This is the dynamic drop down menu <form action="search.php" method="post"> <?php $select_query = "Select distinct category from books"; $select_query_run = mysql_query($select_query); $select_query_array = mysql_fetch_array($select_query_run) ; $cat = $select_query_array['category']; echo "<select name='name'>"; while ($select_query_array= mysql_fetch_array($select_query_run) ) { echo "<option value='".htmlspecialchars($select_query_array["category"])."' >".htmlspecialchars($select_query_array["category"])."</option>"; } echo "</select>"; ?> // search field …

Web Development
Member Avatar for minitauros
0
235
Member Avatar for mattyd

I am recieving a notice(s) multiple times when running a file: Notice: Undefined index: Telephone in C:\xampp\htdocs\demo\nest_Demo_thrasher.php on line 111 Notice: Undefined index: eMail in C:\xampp\htdocs\demo\nest_Demo_thrasher.php on line 112 I have researched this and the ways to solve it. Most ways involve isset it seems, but none of my code …

Web Development data-structure mysql php
Member Avatar for pritaeas
0
1K
Member Avatar for cool_irfan

Hi friends, I'm developing the online exam application and strucked. below is my code to display the records randomly each time, but the problem is these questions are repeating and also the answer of the next question(that is about to display) is saved as the answer selected for present displayed …

Web Development php
Member Avatar for cool_irfan
0
3K
Member Avatar for Smoking Bros

Hello everyone! I got a series of C++ tutorials and a series of Blender tutorials and 1 tutorial on how to get free Windows Vista look on your Windows XP on YouTube.. So I thought I would so some PHP tutorials too... And as always I wanted to check if …

Member Avatar for J. M. P.
0
811
Member Avatar for robertlaar

What is the reason to use PHP frameworks when we have wide range of Content Management Systems available in the market.\

Web Development cms php
Member Avatar for cilla
0
280
Member Avatar for rhodoscoder

I'm trying to work with the codeigniter CMS BONFIRE.I've used codeigniter before, I actually have an installation of both pure codeigniter and bonfire on my local server.First off I've been having trouble with my .htacess files on my xammp server but that's a topic for another day.My Bonfire installation for …

Web Development cms php php-codeigniter
Member Avatar for cereal
0
444
Member Avatar for mattyd

I am working with two seperate files which contain similar code - One throws a parse error for an identical line, the other does not. I do not understand why this would be. **The error on the file that will not run is**: Parse error: syntax error, unexpected '2' (T_LNUMBER) …

Web Development php
Member Avatar for mattyd
0
422
Member Avatar for programmingman

I am having difficulty using phpmailer. I get connection errors. The most recent error is: Connection: opening to smtp.gmail.com:587, t=300, opt=array () Can someone tell me what is wrong?

Web Development php
Member Avatar for jstfsklh211
0
123
Member Avatar for methuselah90

I would like to update a variable and array item after a record array search, and wanted to know what would be the best way of carrying it out in Javascript. In this case, if a match is found between the variable and area item, then the postcode item should …

Web Development javascript
Member Avatar for jstfsklh211
0
274
Member Avatar for ashalatha

Hi Can any one help me how to to get the records in between the dates by using from and to dates using php,mysql,ajax

Web Development php
Member Avatar for jstfsklh211
0
180
Member Avatar for jonlloydd

PDF file uploader is spitting out an error, could anyone help? Parse error: syntax error, unexpected T_VARIABLE in /home/stylecraft/domains/stylecraft-yarns.co.uk/public_html/dev/_cms/upload_pdf2.php on line 37 <?php $allowedExts = array("jpg", "jpeg", "gif", "png", "pdf"); $extension = end(explode(".", $_FILES["file"]["name"])); if ($_FILES['file']['error'] !== UPLOAD_ERR_OK) { die("Upload failed with error " . $_FILES['file']['error']); } $finfo = finfo_open(FILEINFO_MIME_TYPE); …

Web Development file-system pdf php
Member Avatar for jonlloydd
0
265
Member Avatar for Priti_P

Hello, Am new @angularjs. I am using progressbar in angular bootstarp. but for my requirement its little bit tricky. I am using progressbar for DB migrations. OnClick of button my migration process starts and bar should show progress. What I was thinking to do is : onclick call function which …

Member Avatar for Priti_P
0
231
Member Avatar for jonlloydd

I am trying to print a table of reviews based on the date they were written. I set the dates and hit search and nothing happens? There are record in the database. Any help would be appreciated! <?php include_once("includes/session.php"); confirm_logged_in(); include_once("../includes/functions.php"); include("../includes/dbopen.php"); include("../includes/mysql.php"); ?> <?php $pageTitle = 'List Orders'; $pageSubTitle='Orders'; …

Web Development php session
0
119
Member Avatar for codingin

I have connected to database link below $db_host = "localhost"; $db_username = "root"; $db_password = ""; $db_name = "db"; $sql = new mysqli($db_host,$db_username,$db_password,$db_name); And I refered to it on a different page like: function user_exists($username){ $username = sanitize($username); $query_user = $sql->query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = '$username'"); return (mysqli_result($query_run,0)==1)? …

Web Development php
Member Avatar for codingin
0
562
Member Avatar for hardikpatel

hi . plz help me i want to convert html page to pdf file how can i do that can you tell me the code for it or send me the link which help me reply soon thnks

Web Development asp.net html-css pdf
Member Avatar for Select_1
0
611
Member Avatar for Stefce

Hello everyone i have a little problem over here im making share button so i want to update the database on the column 'isShared' with value `1` so here is my code but it doesnt work, all the time is showing me `Already shared ticket!` Here is the code: if(isset($_POST['share'])) …

Web Development php
Member Avatar for diafol
0
298
Member Avatar for fireburner29

how to hide specific values from mysql php? Please help me anyone...

Web Development mysql php
Member Avatar for fireburner29
0
117
Member Avatar for fireburner29

how to make active in dynamic multi level css drop down menu with php mysql ? i given my html and php code. <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.html">SB …

Web Development html-css mysql php
0
158
Member Avatar for jonlloydd

Function is called in my functions file. function Get_Favourites($fields){ $member = $fields['fv_member']; $sql = "SELECT * FROM favourites "; $sql .= "WHERE FV_MEMBER='" . $member . "' "; $sql .= "ORDER BY FV_PRODUCT"; return FetchSqlAsObjectArray($sql); } Functions file is called in my header and is working with other functions. <?php …

Web Development php session
Member Avatar for jonlloydd
0
9K
Member Avatar for Priti_P

Hello, Am trying to fetch data from one table of one DB and put it into another DB's table. I wrote below connection code for this: <?php $date = date('Y-m-d H:i:s'); /* OLD EIMS connection values */ $old_host= "localhost"; $old_uname="root"; $old_pass="ABC"; $old_database ="EIMS_OLD"; /* NEW EIMS connection values */ $new_host= …

Web Development mysql php
Member Avatar for Priti_P
0
163
Member Avatar for davy_yg

update_image2.php $image_info = getimagesize($_FILES["file"]["name"]); $image_width = $image_info[0]; $image_height = $image_info[1]; print_r("$image_width"); I wonder why $image_width do not have any value?

Web Development php
Member Avatar for rtrethewey
0
103
Member Avatar for UK-1991

Hello Guys I am trying to create an attendace system for that I went throught a simple and easiest process which I was thinking is good way but any one cacn let me know where I am doing mistake that when I click on timein the values are not insterting …

Web Development
Member Avatar for UK-1991
0
117
Member Avatar for magicmarkuk

Hi I have the following code: $locationcheck = wp_strip_all_tags( get_the_term_list( get_the_ID(), 'project_location', ' ', ' , ', ' ') ); And I want to check if the value of $locationcheck is equal to ">> Online/Remote <<" However, I am getting stuck with the >> and << as it doesn't seems …

Web Development php
Member Avatar for magicmarkuk
0
188
Member Avatar for CaffeineCoder

Question: I have a new server stood up (Windows 2012) to replace the current 2003 servers. I have Apache 2.4 + PHP 5.6 + MySQL installed for websites to be hosted. I setup Apache, and a virtual host for a test site. I then created a host file entry on …

Web Development apache cms windows-server
Member Avatar for CaffeineCoder
0
2K
Member Avatar for jrotunda85

I'm not sure if this should be in this forum but I figured it was a good starting place. I am creating a database that, among other things, allows users to input a store's location (e.g. name, address, etc). Once a store has been added, there is an ability to …

Web Development google php seo
Member Avatar for Yong woon
0
584
Member Avatar for bolfescu

Hy i'm using $_GET function to a variable and after make a query, but when i simply trying to display that variable, is not the full text...is less and then thats why dsnt work the query...how can i fix it ?

Web Development php
Member Avatar for bolfescu
0
91
Member Avatar for baloch123

Hi I want to greet user when they type their name in the textbox. e.g WHEN THEY TYPED IN THEIR NAME A LITTLE POP UP, OR A LINE APPEARED IN AREA THAT SAID “Hi XXXXX, nice to meet you!” Here is the sample code. <div class="form-group"> <label class="col-xs-3 control-label">What is …

Member Avatar for baloch123
0
279
Member Avatar for AmritaHasan11

Can anybody share some best java book links or the name of book.

Web Development javascript
Member Avatar for bijutoha
0
207
Member Avatar for King_Of_lords

Ok Guys I have searched a lot but didnt find proper suitable content Where In a single php page 1)I want to populate 2 drop down list which display data! from 2 different tables that is table_designation and table_relation and 2)at same time am going to add one question[by textbox] …

0
104
Member Avatar for maas

I'd like to disable/enable SelectManyCheckbox and the SelectOneMenu based on my selection. I have two radio buttons to be selected whether A or B. The SelectManyCheckbox and the SelectOneMenu should be disabled at the first run. When the user selects “A” the SelectManyCheckbox and the SelectOneMenu should be enabled and …

Web Development javascript
Member Avatar for diafol
0
774
Member Avatar for danarashad

I am working on trying to secure some coldfusion servers. I've seen the lockdown guides all over the net. But those guides are for new installs. Is there a way to lockdown coldfusion after the install?

Web Development coldfusion cybersecurity
0
182
Member Avatar for danarashad

I am using an ajax to load form fields. When the you select the school, the grade fields load. When you select the grade, the show name check box appears. When the select all box appears, I have to click the select all box twice for it to work. I …

Member Avatar for danarashad
0
333
Member Avatar for amogh.max

I have created the following button: <form method="post" action="website.sup"> <input type="submit" id="btn1" name="btn1"/> </form> I am trying to call a ".java" file when i press this button. Sample of my .java code : package website; import javax.swing.* public class sup implements Runnable{... How do i call my java file? Additional …

Member Avatar for stultuske
0
276
Member Avatar for Riptyed

Hey guys and gals, Newcomer here, and new to IT world as well. Recently overhauled company website, installed Wordpress. Same webhost and DNS. After the changes, visiting the website via the company network often receives the following error: "Server Error 403 - Forbidden: Access is denied. You do not have …

Web Development dns wordpress
Member Avatar for JorgeM
0
171
Member Avatar for GlenRogers

I've been using thisJQuery code to fade in divs (all of the same class .showme) But what I would like to do is fade out the previous div as the next one fades in. Can anyone offer assistance on this? $(document).ready(function() { /* Every time the window is scrolled ... …

Web Development javascript javascript-jquery
Member Avatar for GlenRogers
0
273
Member Avatar for shady atef

<?php require_once '_includes/_coo.php'; $id =$_post['user_id']; //error here -> line 4 // sending query mysql_query("DELETE FROM example WHERE BookID = '$id'") or die(mysql_error()); header("Location: index.php"); ?> error in line 4

Web Development php
Member Avatar for minitauros
0
149
Member Avatar for davy_yg

update_image2.php $result2 = mysql_query("SELECT * FROM image_upload"); $data2 = mysql_fetch_array($result2); if($image_width > $data2['maxwidth'] || $image_height > $data2['maxheight']) { echo '<br>'."Image is too big".'<br>'; echo $image_width.'>'.$data2['maxwidth_bn'].'<br>'; echo $image_height.'>'.$data2['maxheight_bn']; exit(); } Successfully upload pictures Image is too big 995>1000 227>240 I wonder why the message says the image is too big?

Web Development php
Member Avatar for davy_yg
0
84
Member Avatar for Sammys.Man

Hi guys, wondered if someone could help please, i am trying to display a championship table from the 3 tables i have in my mysql. tbl_champ holds the championship name (nitro) and date (2015) tbl_rounds holds the round name (round1 so on) the date (01/01/2015 so on) and the champ_id …

Web Development php
Member Avatar for Sammys.Man
0
139
Member Avatar for prafulla23

I m new in jasper report and eclipse. Actually I created a receipt in jasper studio (.jrsml file) and I want to change the report properties on run time. Description: I want to fetch a report properties in jsp page and user can change this properties at runtime and save …

Web Development java-jsp
Member Avatar for prafulla23
0
531
Member Avatar for Niloofar24

Hello. I'm new to PHP, i've started it yesterday. I want to creat a simple CMS with (PHP and PDO), what should i do? I'm going to start with creating the CMS core. I want to create sth like a simple wordpress. What should i do? Where should i start …

Web Development cms php wordpress
Member Avatar for Niloofar24
0
1K
Member Avatar for aru786

umm i have vry serious issue with my php code...im trying to pass the value of a radio button which is being fetched from the database to an onclick function. the function is being called on the submit button.But the function is not getting called...how shud i solve this problem

Web Development php
Member Avatar for Wolf_2
0
117
Member Avatar for asaidi

Hi i have a table route day,position... day position 1 1 1 2 1 3 1 4 then day pass to number 2 and position passes to 1 i have these data in my table but when i order the table by day..position are all messed..if i order the 2 …

Web Development php
Member Avatar for asaidi
0
227
Member Avatar for jcomputing

I am trying to install drush on a shared server with hostgator. Everything goes smoothly when I try to run drush basically it says command not found. Please can anyone help. Kind Regards, Jonathan

Web Development xml
0
212
Member Avatar for sarathnair

HOW CAN I INCLUDE JQUERY SLIDER INSTED OF PHP WITH LOOP PLS HELP...

Web Development php
Member Avatar for diafol
0
155
Member Avatar for patodeborracha

Friends! I Have this JavaScript and the Validade Form not Work After I Select a Ajax Populate SelectBox. If not Select and Populate with Ajax, Validade Form Work. When Try Select (District) and Ajax Populate SelectBox SubDistrict, Validade Form Not Work... $.ajaxSetup({ cache: false }); $("#PriceForSale").hide(); $("#PriceForSeason").hide(); $("#PriceForRent").hide(); $(document).ready(function() { …

Web Development javascript
Member Avatar for AleMonteiro
0
190
Member Avatar for janicemurby

hya i want to show each user there own id number for identity purposes so far i have <?php include("config/db_connect.php"); include("config/ckh_session.php"); ?> <?php $userinfo = mysql_query("SELECT user_id FROM user"); ?> <ul> <li>You must be fully clothed, no nudity.</li> <li>Your face must be clearly visible although you may obscure your eyes …

Web Development php
Member Avatar for janicemurby
0
215

The End.