39,320 Topics

Member Avatar for
Member Avatar for Thevenin

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 …

Member Avatar for Thevenin
0
346
Member Avatar for iamthwee

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 …

Member Avatar for iamthwee
0
181
Member Avatar for Nilesh_2

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.

Member Avatar for diafol
0
347
Member Avatar for CarterLangley

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 …

Member Avatar for CarterLangley
0
225
Member Avatar for dinhunzvi

is there an open source GPS solution that i can integrate into a php website for a car rental firm

Member Avatar for diafol
0
178
Member Avatar for alfredferg

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

Member Avatar for santoshv22
0
2K
Member Avatar for nana.k.denise

<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> …

Member Avatar for nana.k.denise
0
370
Member Avatar for mwnt2014

JavaScript for mobile browser detect img changed according to mobile browser wheather iphone or android ..different images for both....

Member Avatar for diafol
0
107
Member Avatar for davy_yg

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?

Member Avatar for Alberto Bucur
0
122
Member Avatar for kgizo

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. …

Member Avatar for kgizo
0
296
Member Avatar for shehnaz20

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 …

Member Avatar for diafol
0
74
Member Avatar for tsp003

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 …

0
133
Member Avatar for Thevenin

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 …

Member Avatar for Thevenin
0
2K
Member Avatar for LaurenE

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 …

Member Avatar for diafol
-1
684
Member Avatar for AIDAN_1

Hi there, i have problem on the code that creates the session i.e. strart and end session' can you help me please?

Member Avatar for diafol
0
26
Member Avatar for jeffmarlon

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?

Member Avatar for Bachu
0
41
Member Avatar for nevek

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` …

Member Avatar for diafol
0
252
Member Avatar for pooja_3

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 …

Member Avatar for diafol
0
1K
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
213
Member Avatar for jj.dcruz

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 …

Member Avatar for pritaeas
0
186
Member Avatar for begueradj

Hello, How can we bypass a filter that checks "<>" in order to perform an XSS attack ? Thanks in advance, Begueradj

0
112
Member Avatar for Udeme_1

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(); …

Member Avatar for samfoster017
0
167
Member Avatar for jayreis

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 …

Member Avatar for jayreis
0
138
Member Avatar for Mike_danvers

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??

Member Avatar for Mike_danvers
0
94
Member Avatar for chaitu11
Member Avatar for polarpandabear

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 …

Member Avatar for cereal
0
476
Member Avatar for CarterLangley

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; } …

Member Avatar for CarterLangley
0
261
Member Avatar for vukhacbiet

I intend to business web applications but do not know how to create a system such as Bitrix24 or Kayako Anyhow, when a user clicks the trial, the system will automatically create a subsystem run their web applications including self-installation and application configuration, user trial with domain subname.domain.com After a …

0
45
Member Avatar for Alhussaini.Eng

**Hello Every body.** My toturial today how to make token input in the send data by form to the database by using php mysql it's so easily and useful . most people why use it or what's token take me to more secure. i answer : Did you ever think …

1
253
Member Avatar for garwil

Hi all... Hope someone can point me in the right direction here as am stumped.. I have two domains, same name but one is .com and the other .co.za. The .com domain is 'parked' and points to the .co.za domain. In the co.za domain my landing page (index.php) has three …

Member Avatar for diafol
0
203

The End.