52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for princess pinky

Hi! My project is on digital library system and ASP.Net C#. I need ur help in my fine calculation code.I try it to do alot but still that codes r not working yet. Please help me to solve this problem.I really thankful to u.

Web Development asp.net
Member Avatar for princess pinky
0
85
Member Avatar for renierdbruyn

I have the following function: function rank() { $sql = "SELECT * FROM applicant_details"; $results = $this->db->query($sql)->result(); $sql3 = "SELECT * FROM job_advert"; $job_advert = $this->db->query($sql3)->result(); foreach ($results as $applicant) { $applicant_age = $applicant->age; $applicant_id_number = $applicant->id_number; foreach ($job_advert as $advert) { $job_title = $advert->job_title; $age = $advert->age; if ($applicant_age …

Web Development php
Member Avatar for broj1
0
215
Member Avatar for klemme

Hi all, I have to find out to write a function that can serve PDF documents (invoices) in the browser window. My challenge is that the PDF fiels is on another server, which I do have access to. Can I somehow just create a link on the site, and then …

Web Development pdf php
Member Avatar for pritaeas
0
542
Member Avatar for ehpratah

Good Day everyone im having trouble in script right now basically im trying to make an if statement that will assign rate base on the destination, branch ,service and vehicle. which is working fine just a moment ago but when i add another array for another destination it seems that …

Web Development php
Member Avatar for ehpratah
0
126
Member Avatar for Robonte

If got a problem in a mysql select string. I get some data from a mysql table and want use some data to pull data from another table. When I use static (i typed it in) it works good but when i use the data that i got from the …

Web Development mysql php
Member Avatar for bradly.spicer
0
353
Member Avatar for Diogo Martinho

Hello, I'm trying to define the route for my application and so far I've set the following route routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home", action = "Start", id = UrlParameter.Optional } // Parameter defaults ); This allows me to do things …

Web Development asp asp.net
Member Avatar for Shecheat
0
97
Member Avatar for Olagsfark

Here, i've built a script that gets the time a user accessed the login page and stores it in a session with the user's i.p address and when next the same user accesses the login page, if the time difference is less than 5 seconds, the script wil display a …

Web Development algorithm php session
Member Avatar for pritaeas
0
174
Member Avatar for best4earn

Can any Body Tell me how can i genrate E-pin for MLM web site which makes payment secure from customer to admin & how can i transfer these pin from customer to customer in secure way

Web Development php
Member Avatar for pritaeas
0
163
Member Avatar for L-D

Hi, Installing a new script.... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 5 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 …

Web Development php
Member Avatar for pritaeas
0
181
Member Avatar for BadManSam

Hi, I have been trying to integrate gravatar to my login system but it doesn't seem to work. Here is the code: <?php include("include/session.php"); $connectmysql = mysql_connect("localhost", "********_login", "*******"); mysql_select_db("********_login", $connectmysql); ?> <html> <?php $email = mysql_query("SELECT email FROM blog_users WHERE user = '$session->username', $connectmysql"); $default = "mm"; //This returns …

Web Development php session
Member Avatar for cereal
0
148
Member Avatar for renato_francia

Hi, I'm having a hard time understanding the difference between these two concepts. Any pointers?

Web Development client-server
Member Avatar for almostbob
0
280
Member Avatar for Iamateur

I wrote code in notepad and gave the extension as hello.php but it didn't change to web and so it did not run. Secondly ,I wrote code in Visual Studio asp.net web application <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="phphello._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" …

Web Development asp asp.net php visual-studio
Member Avatar for JorgeM
0
247
Member Avatar for minitauros

Okay so I've been going through my HTML lately and I discovered that I was still using the <base> element to define my website's base path. I want to get rid of that - I would like to be able to use relative URLs all the time, without having to …

Web Development php
Member Avatar for minitauros
0
276
Member Avatar for best4earn

When i Open My Browser This Error Accourd . "Failed to execute query! ( -1)" plz help me to solve this issue ( UPDATE `name` SET `parentID`=[value-1],`id`=[value-2] WHERE 1) <?php /** * Handles creating and/or printing a Tree-Like HTML output, complete with * all necessary CSS styles. * * Assumes …

Web Development data-structure html-css php
Member Avatar for pritaeas
0
316
Member Avatar for B0716L

Does anyone know how to make a checkbox on a web page that always stays checked no matter what computer sees it? It would always stay checked on that exact web page? If anyone knows how to do this, that would be great :)

Web Development javascript
Member Avatar for B0716L
0
279
Member Avatar for Clanstrom

I am new to PHPUnit & unit-testing in general, I have got this problem, thankfully I can sense, the answer is out there, maybe with everyone has ever done their first tests. Here it goes: I have been trying to find tutorials for unit-testing with PHPUnit. And, so far all, …

Web Development php session
Member Avatar for pritaeas
0
250
Member Avatar for Webbsta

Hello everyone, I am working on a website and I decided to create my own testing server as I currently have my Windows machine hosting apache for this. I have now set up a seperate machine running Linux and on the face of it everything should be working fine. I …

Web Development apache php
Member Avatar for Webbsta
0
219
Member Avatar for piyush_jain2011

i'm using smtp "127.0.0.1" and smtp port "25" to send the mail. My application is working fine but mail is not sending. What i've to do for it. need some suggession.

Web Development php
Member Avatar for best4earn
0
119
Member Avatar for best4earn

I am a New developer , Now a days i am on mlm project ... I want to know how can i genrate 3 Point by Direct reference & 1point indirect reference & how can Transfer 1 member to another. plan MLM binary 1st = 1-left/1-right ==15% all remaining nodes …

Web Development php
Member Avatar for best4earn
0
180
Member Avatar for edwin.joseph.7543

Hi, so I have been trying to create a Login and Register system, but the thing is every time I try to login using the system nothing really happens. You can check it out at http://edwinjoseph.co/logintest/ if you click login and use **user** for the username and **password** for the …

Web Development mysql php
Member Avatar for edwin.joseph.7543
0
400
Member Avatar for devarmagan

hi in my registration page i got about 20 input fields everythings are working fine except this multiple checkboxes. i read the articles related to my isses but no joy yet becouse my code is very complecated for example the register.php datas will be validate and process by process.php and …

Web Development mysql php session
Member Avatar for devarmagan
0
3K
Member Avatar for lloydsbackyard

I have php questions..please give me some ideas... 1. how can I destroy php session if the browser is close? 2. if i have textboxes and it contains data from the database. how can i destroy or expire the data the moment i press back in the browser. 3. in …

Web Development php session
Member Avatar for lloydsbackyard
0
179
Member Avatar for BadManSam

<?php include("include/session.php"); ?> <?php $db = new PDO('mysql:host=localhost;dbname=******x2_login', '******x2_login', '********'); $stmt = $db->query('SELECT value FROM settings WHERE value = "Login Script" '); $id = $stmt->fetchColumn(0); if ($id !== false) { echo $id; } ?> <?php if(isset($_POST['Submit'])){//if the submit button is clicked $update = "UPDATE settings WHERE value = 'Login Script' …

Web Development php session
Member Avatar for minitauros
0
173
Member Avatar for Swati_2

//page2 edit button code.. page2 send the data back to page1 if user wants to edit <a href="purchase_form1.php?id=<?php echo $id; ?>" class="button4">Edit</a> //page1 php code. here the form is on this page //This GET[id] is sent from page2 which is user view page of the form on page1. //If user …

Web Development mysql php
Member Avatar for broj1
0
587
Member Avatar for mario90

hello i have this little image script that work on greasamonkey, the script is good and work like a charm it help me to block images i dont want to see but i wished it has interval timer becasue i run it over site with dynamic content ..the targeted pics …

Web Development image javascript
Member Avatar for mario90
0
212
Member Avatar for andreiviziru

Hi i have a long script named **images.php** that handles the image manipulation and the following script to handle multiple images at once <?php // load the image manipulation class require '../../image.php'; // create a new instance of the class $image = new Zebra_Image(); $directory = 'jocuri'; if ($handle = …

Web Development image php
Member Avatar for andreiviziru
0
224
Member Avatar for jc.viloria.9

Hi guys Can somebody help me fix my issue on my site becuase everytime I tried viewing it www.discoveringnorth.com.. it gives me this error message: Warning: require(/data/16/3/106/85/3106574/user/3463076/htdocs/wp-includes/version.php) [function.require]: failed to open stream: No such file or directory in /data/16/3/106/85/3106574/user/3463076/htdocs/wp-settings.php on line 23 Fatal error: require() [function.require]: Failed opening required '/data/16/3/106/85/3106574/user/3463076/htdocs/wp-includes/version.php' …

Web Development file-stream php
Member Avatar for TomH.PG
0
154
Member Avatar for lewashby

Any ideas on some good beginner projects for PHP? I'd like to at, some point in the future, get into front end development and although I have a little self taught programming knowledge I don't have any real work experience in I.T. or programming at all, just the programs you …

Web Development php
Member Avatar for diafol
0
179
Member Avatar for asaidi

Hi in my form i have an option that i can attach a file to my database and i can see the filename in my database and in my view..but i m trying to make a link on it in view that i can read it please check my code: …

Web Development php
Member Avatar for cereal
0
488
Member Avatar for h2k

<html> <body> <h2>Search</h2> <form name="search" method="post" action="<?=$PHP_SELF?>"> Search for: <input type="text" name="find" /> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /> </form> <? //This is only displayed if they have submitted the form $find = $_POST['find']; $searching = $_POST['searching'] ; if ($searching =="yes") { echo "<h2>Results</h2><p>"; //If they …

Web Development php
Member Avatar for h2k
0
201
Member Avatar for abhinavashish

What is reasion of popularity of SAP SOFTWARES can we compatite with our asp.net projects.

Web Development asp.net
Member Avatar for Yoselin
0
139
Member Avatar for GlenRogers

I have a for with 2 dropdowns, 'category' and 'subcategory' I'm trying to make my page that it shows records(products) in the table based on dropdown selection of the subcategoy dropdown. So for example all records beloning to the subcat wheels have a subcat_id of 4. Sunbcategory table and products …

Web Development php
Member Avatar for GlenRogers
0
323
Member Avatar for cmsc

Hi! I have to upload a file to a separate server and I was given access to its ftp. But to be able to access the ftp, I need ftp over ssl explicit. I tried to use curl to connect to ftp. I was able to pass through the 220 …

Web Development php
Member Avatar for cmsc
0
2K
Member Avatar for kiLLer.zoh_1

Hi all this is my index page it works fine but the only porblem is that when user close the tab without logging out then login.php page displayed with menu obove.i want to expire the session if user close the tab help me out please <?php session_start(); if(!isset($_SESSION['_LOGIN'])) { $_SESSION['_LOGIN'] …

Web Development php session
Member Avatar for Atli
0
236
Member Avatar for bansarisavaliya

I want that when txt file data save in database that time progress display that "Processing nth of n records …" I trying with following code but not success CurrentFileName = myFile.FileName; string CurrentPath = Server.MapPath("~/Uploadfile/"); CurrentPath += CurrentFileName; myFile.SaveAs(CurrentPath); fname = CurrentFileName; DataTable dt = new DataTable(); StreamReader sw …

Web Development asp.net
Member Avatar for JorgeM
0
215
Member Avatar for ahmad.albab.87

hi, seems mysql_escape_string was deprecated ([http://php.net/manual/en/function.mysql-escape-string.php](http://php.net/manual/en/function.mysql-escape-string.php)) is there any alternative method? hope php developers can share with me. tq

Web Development mysql php
Member Avatar for ahmad.albab.87
0
249
Member Avatar for BadManSam

Hi, I tried to convert timestamp into the actual date and time. <?php $connectmysql = mysql_connect("localhost", "********_login", "********"); mysql_select_db("********_login", $connectmysql); $timestamp = mysql_query("SELECT timestamp FROM blog_users WHERE username = '<?php session->username ?>', $connectmysql); $datetime = date("Y-m-d H:i:s", $timestamp); ?> This gets the user's username: $session->username But, then I get an …

Web Development php session
Member Avatar for chrishea
0
197
Member Avatar for wmhintz

Hello geniuses, I have inherited a ColdFusion application which uses four lines of AJAX in order to populate a drop-down based upon the selection made in a previous drop-down. The first drop-down is a list of car "makes", for example: Ford, Chevrolet, etc. The second drop-down is to be populated …

Web Development coldfusion javascript
Member Avatar for paulkd
0
311
Member Avatar for dandeliondream

Hi, I am trying to create a menu like the one on http://www.momentumww.com/ When you scroll to section 'About', the menu 'About' button will be highlighted in white instead of black. Anyone has any idea how to do this?

Web Development javascript
Member Avatar for theHop
0
111
Member Avatar for venus pacia

hi!!! guyz i want to know if asp.net is easy to use?because i want to make a web application, and i want o use asp.net and i want to learn the basic codes of asp.net thanks!!!..plz help^_^

Web Development asp asp.net
Member Avatar for Yoselin
0
231
Member Avatar for ronaldpaul

Hi, I'm facing a problem with one of the wordpress website I've developed. I activated "Cloudflare" from the cpanel for the domain http://www.kovaidonbosco.com/. After that, all the pages in the website are pointing to the home page. Please try to select different pages from the menu and see. I de-activated …

Web Development cdn client-server dns php wordpress
Member Avatar for cereal
0
284
Member Avatar for joshl_1995

Hello Community, I was wondering if someone could give me any ideas on how to get my company out there?

Web Development
Member Avatar for joshl_1995
0
207
Member Avatar for terryds

First, take a look at my code <?php try { $dbh = new PDO('mysql:host=$db_host;dbname=blogproject1','root',''); $dbh->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION); $dbh->exec('SET NAMES "utf8"'); } catch (PDOException $e) { die('Error: ' . $e->getMessage()); } if(!defined('GUEST')) { define('BASEPATH', dirname(dirname(__FILE__)); header('Location: ' . BASEPATH); exit(); } When it executed it gives me an error.. Looks like, the error …

Web Development php
Member Avatar for code_rum
0
163
Member Avatar for santosh.m

Can You Please exaplain what **0**(ZERO),geocode=**0**,33.32032770893669,-111.96618234118574) represents geocode parameters of below url https://maps.google.com/maps?f=d&hl=en&saddr=&daddr=7200+West+Ray+Road,+Chandler,+AZ+85226,+USA&geocode=0,33.32032770893669,-111.96618234118574

Web Development google php seo
Member Avatar for almostbob
0
203
Member Avatar for abhi10kumar

I am using Facebook, Twitter and Gmail APIs to login. I am getting **email, uid, provider, username** in **Gmail** & **Facebook** and **Provider, username, token, secret code for twitter**. But I want as much as user's details. Do they provide more information ? If yes then how I can get …

Web Development api
Member Avatar for pritaeas
0
142
Member Avatar for cgull

Hello, This is the first time I am trying to use jQuery DataTable. I read a lot of articles, but I can't make it work. I hope someone can help. I need to build a table that displays Rugby games scores. The table I am building should look like this: …

Web Development javascript javascript-jquery
Member Avatar for cgull
0
316
Member Avatar for Olagsfark

I've got a simple php script here that recieves a POST data from my ajax script. But i want to make sure that only my own ajax script can have a successful request from the page and not some other ajax scripts to avoid brute attacks as ajax requests are …

Web Development first-post php
Member Avatar for Olagsfark
0
643
Member Avatar for OsaMasw

Hello there am working now on download script for some projects I have many option to do from limiting the speed or make the download resumable. everything works fine except for the resume download, I've tried many script and codes, none of them works :( here is my last code …

Web Development file-stream file-system php
Member Avatar for OsaMasw
0
2K
Member Avatar for Dani

We use hashes a lot in our URIs to jump people around to a specific place on the page. For example (www.example.com#part1 and www.example.com#part2). However, we have a static fixed header at the top of the page, and so if it tries to jump you down, it ends up plopping …

Web Development javascript javascript-jquery
Member Avatar for Dani
0
309
Member Avatar for inihan

hi all, I am quite new into web development. And i need some help about a chat application. I think the is the 2 popular method in a chat application. one is with ajax and other one is socket. As i think of ajax chat its quite good, I as …

Web Development php
Member Avatar for inihan
0
198

The End.