39,323 Topics
| |
I have written a code to add users into the database and validate their credentials when a user logs in. Only the added users are allowed to login and for non valid users, simply a username/password does not match error message is echoed. Password encryption and checking codes are not … | |
I got a movie search website but when I search something it says 404 page not found. [The search view](http://i.imgur.com/pxM1yS4.png) The site is working under a framework called **code igniter**. Here is the back-end code of search engine: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Search … | |
Hello all, im having some problem, i have a function call dbconn which i run after my session. i can successfully connect to the database and run the mysql statement outside of the function with no problems. However, when i put it in the function and return it, nothing happens. … | |
Hi all, I need some help with this problem. I have a function that has 2 fields, name of the folder to be created and the featured image to be put inside. This code works fine online, but when I imported it on my localhost (MAC Mavericks+XAMPP), the code creates … | |
| Daft question... but in order to prevent users tampering with the item price(right click inspect element change) and accept payments via **paypal**... Is the only way to do this using the encypted form method. eg. I generate a public and private .pem cert, then change the paypal account to accept … |
Hello there, For my project, I want to add notification feature where one user can send request for something and other user views by clicking button or something like that as a notification/alert similar to friend request in facebook. I dont know how to implement this feature. Thanks in advance. | |
Hey guys, me again. OK, I have this form that gets and populates the select boxes with the necessary info. Now, what I would like to do is to take the id field of the select box and use that to do a select query on the relevant table. So … | |
is there an open source GPS solution that i can integrate into a php website for a car rental firm | |
how to read the last 10 lines on a file using php. [B]Sample Entry:[/B] Samp1 Samp2 Samp3 Samp4 Samp5 Samp6 Samp7 Samp8 Samp9 Samp10 Samp11 Samp12 Samp13 Samp14 Samp15 [B]Output:[/B] Samp11 Samp12 Samp13 Samp14 Samp15 | |
<link rel="stylesheet" type="text/css" href="admin/css/style.css" /> <?php include('dbcon.php'); include('header.php'); ?> </head> <body> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="brand"> <img src="admin/images/dee.png" width="150" height="50"> </a> <a class="brand"> <h2>UNITOUCH GLOBAL ONLINE E-VOTING</h2> <div class="chmsc_nav"><font size="4" color="white">Uniquely Touching The Universe</font></div> </a> <?php include('head.php'); ?> </div> </div> </div> <div class="wrapper_admin"> </br> </br> </br> … | |
JavaScript for mobile browser detect img changed according to mobile browser wheather iphone or android ..different images for both.... | |
index.php echo '<a href="'<?php echo SITEURL; ?>'IndonusaCMS/event_article.php?id='.$data['ID'].'">'.$data['title'].'</a>'; wds.php <?php define('SITEURL', 'http://www.indonusa.net.id/'); ?> When I try to run index.php this error appears: Parse error: syntax error, unexpected '?' in E:\xampp\htdocs\IndonusaCMS\index.php on line 106 How to fix it? | |
Good day What I would like to do is to alter a mysql table with data in it then add manipulated string data to that created column i.e I first add an extra column to my table then add a reverse string coded from data that had already been inserted. … | |
i have 4 check boxes in a form and 2 radio buttons i want to select all 4 checkboxes and select one file type that is radio button and download 4 files in eighter csv or excel format please help me na wid an example if i select a single … | |
This ones got me confused, I'm a total noob but I created a joomla site, hosted by justhost and it's fine on all browsers apart from Windows 8 Phones running Internet Explorer 10 where all you get is the HTTP 503 Service Unavailable. I've checked it via http://downforeveryoneorjustme.com which says … | |
I am trying to order by date DESC some events read from a CSV and print out them. The CSV file has to be read until it reaches the end and then order by date DESC only the entries in the following categories: champions and euro. This is the code … | |
Hi guys, I am struggling a bit with some code. I have put the code on my own test hosting website yet it is not displaying anything... not even an error message. Here is the code <?php $conn = msqli_connect("xxxxx","xxxxxxx","xxxxxxx","xxxxxxxx") or die ("Could not connect to mysql because ".mysql_error()); $q … | |
Hi there, i have problem on the code that creates the session i.e. strart and end session' can you help me please? | |
I installed XAMPP for my PHP programming practice but when I run it then MySQL is not starting, while apache is running correctly. Can anyone please tell me the solution? | |
Hi The code below inserts data into a mysql db, for some weird reason IE inserts it 2 times and firefox just once. It should only insert it once. $KOSoep = $_POST['KOsoep']; $KOHoofdgerecht = $_POST['KOhoofdgerecht']; $KODessert = $_POST['KOdessert']; //insert query kinderopvang $insert_kinderopvang="INSERT INTO `menukinderopvang` ( `datum` , `soep` , `hoofdgerecht`,`dessert` … | |
I need some help. I am a newbie to php .. What I am trying to do is to parse an xml file and create a drop-down for the user. I have attached how my drop down list looks currently. What I want to do is to add a sub … | |
Hallo, I am trying to understand this code which doesn't make sense to me. company.php <?php require('wds.php'); include(INC_DIR . 'header.inc.php'); ?> <div class="container"> <div id="header"> <h1 id="book-of-love"><img src="<?php echo SITEURL; ?>images/infracom.png" /> <!--Indonusa Group<span> Portal</span> --></h1> </div> <div class="infra-article"> <?php if ( isset($_GET['pageSlug']) && !empty($_GET['pageSlug']) ) { $q = new … | |
I have a problem using many dropdown/select in which i needed to filter everytime i change the dropdown I dont know how to do this. for example: 1st dropdown is location *which I selected* **pasig** it should filter -> 2nd is bedroom which **pasig** has **3** data *1,2,4* it should … | |
| Hello, How can we bypass a filter that checks "<>" in order to perform an XSS attack ? Thanks in advance, Begueradj |
please guys i am making an app and i want to show the number of users online on the app i have this code function whoisonline() { //what are my variables values $email=$_SESSION['jwp_email']; $sqloo="SELECT `id` FROM users WHERE email='$email'"; #mysql_query($sqloo) if ($run=mysql_query($sqloo)) { $b=mysql_fetch_assoc($run); $b['id']; $c=$b['id']; } $ip=$_SERVER['REMOTE_ADDR']; $ip_ua=$_SERVER['HTTP_USER_AGENT']; $time=time(); … | |
I have the below line of code which I am trying to use after an image is uploaded in order to resize the image. I have confirmed my image does get uploaded correctly so the image file is in the correct location however I keep getting an error The line … | |
with all due respect i would like to inform that,2hours ago i posted a thread on php webdevelopment,but can't see that in my watch list nor in forum,can any of the admins have any idea what happened to that?? | |
extracting reports in excel/pdf etc.... is there any plugin | |
Hello Everyone! I'm a return user to this community. I just want to ask some help regarding of my problem in my site. the problem is that some of my php files can't display some of my content in our website. I'm a main programmer in our team and in … | |
Can never seem to get things to work! <?php if(isset($_POST['add'])) { $person_id = $_POST['person_id']; if (isset($_POST["cv"])) { $cv=1; } else { $cv=0; } if (isset($_POST["document_id"])) { $document_id=1; } else { $document_id=0; } if (isset($_POST["application_form"])) { $application_form=1; } else { $application_form=0; } if (isset($_POST["passport"])) { $passport=1; } else { $passport=0; } … |
The End.