52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bro_1

how to make php security in the url with the get method for example as media.php?hal=detail&id=1

Web Development php
Member Avatar for veedeoo
0
513
Member Avatar for jarmouz

Hello, I want to get checkbox depending on choice dropdown list. this is my code <html> <head> <link rel="stylesheet" type="text/css" href="style.css" media="all" charset="utf-8"/> <title>APPLICATION</title> <script type="text/javascript"> function changerub(rubrique){ var divIds= new array('agent'); for(var i=0; i<divIds.length;i++){ document.getElementById(divIds[i]).style.display = (i==rubrique)?'block':'none'; } } </script> </head> <body> <?php $cnx=mysql_connect('localhost','root','') or die ("Erreur de connexion"); …

Web Development html-css php
Member Avatar for diafol
0
120
Member Avatar for connoisseur2010

Hi ... I wrote a script to send a feedback form to an email. Here's the script below; //PHP CODE: <?php session_start(); $submitted = FALSE; ini_set("SMTP","mail.sitecghana.com"); if (isset($_POST['send_message_button'])) { $submitted = TRUE; // The form has been submitted and everything is ok so far… $name = htmlspecialchars($_POST['name'], ENT_QUOTES); $email = …

Web Development php
Member Avatar for cereal
0
418
Member Avatar for harry.suren

Logout functionality does not working properly in "Production Environment". The logout Function is called in Production Environment by Started GET "/logout" for 127.0.0.1 at 2014-11-11 14:48:52 +0530 instead of Started DELETE "/logout". Note: I don't use Devise Gem in my application. routes.rb root 'welcome#home' get 'signup' => 'users#new' get 'login' …

Web Development ruby
Member Avatar for Taywin
0
275
Member Avatar for john jr

Hello my friend out there i realy need help .i'm working on one of my class labs but things is not that write to me...could one out there assist me thanks you. here is the quz<<<<<< Write a program in HTML and JavaScript for the following tasks: Find the maximum …

Web Development html-css javascript
Member Avatar for Taywin
0
201
Member Avatar for Abraham_3

In my project I have got a "back button" that is calling a javaScript function that remembers the previous url when called. //back button function function goBack() { $window.history.back(); } the url being remembered or being called when the back button is clicked contains an ID and this is ID …

Web Development html-css javascript
Member Avatar for Taywin
0
230
Member Avatar for SimonIoa

I want to put a remember me button on my website in the login page... Any good example?

Web Development php
Member Avatar for SimonIoa
0
144
Member Avatar for razar63

Hi All I have a simple add to shortlist function using php and would like to add a success Alert message so that users know that the item was added to the shortlist. Ive tried the following code without success. // check if the item is in the array, if …

Web Development javascript php
Member Avatar for broj1
0
1K
Member Avatar for bradly.spicer

Hey guys, <?php $url = "https://api.twitch.tv/kraken/streams/greatbritishbg"; $json = file_get_contents($url); $json = json_decode($json); var_dump($json); foreach($json->streams as $stream) { echo $stream->channel->stream . '<br />'; echo $stream->channel->display_name . ' is playing ' . $stream->channel->game . '.<br />'; echo '<a href="http://www.twitch.tv/' . $stream->channel->name . '">Watch Live</a>'; echo '<hr />'; $status = $stream->channel->stream; } //PSUEDO …

Web Development api json php
Member Avatar for bradly.spicer
0
576
Member Avatar for malatamil

mail is not getting to my inbox. while submit the form am getting message as mail has been sent, but after sending i checked my mail am getting mail in spam,how can i get the mail into inbox. index.html <form method="post" name="sentMessage" action="mail/contact_me.php" id="contactfrm" role="form" enctype="multipart/form-data"> <div class="col-sm-4"> <div class="form-group"> …

Web Development php
Member Avatar for malatamil
0
312
Member Avatar for Violet_82

Hello guys, I wonder if you can help. I've got an existing site that I want to "convert" to an ASP.NET one and I gave a good read at the master template tutorial suggested in another thread, but I'm having a few problems deciding what goes in the master page …

Web Development asp.net
Member Avatar for Violet_82
0
401
Member Avatar for davy_yg

Hello, I am trying to create a form, yet I wonder why the form does not works like usually: index.php <form action="login.php" method="POST"> <input type="text" class="form" name="email"><br> <div style="margin: -60px 0 0 165px;"><input type="password" class="form" name="password"></div> <div style="margin: 235px 0 0 -125px;"><input type="button" name="submit"></input></div> <div style="margin: -170px 0 0 350px;"><input …

Web Development php
Member Avatar for broj1
0
258
Member Avatar for Roisin

Hi, I am currently working on an assignment and am stuck on the very end of it. In a previous assignment we created a SQL database and GUI in vs C# for this one we have to turn this into a web service, I have all forms working apart from …

Web Development asp.net gui
Member Avatar for Roisin
0
165
Member Avatar for yavindu

Can I create user log in application without starting a new session(without using session_start()). I've created a application where user can log in but session is not created.But everything is working correctly.My application is working under one url.URL is not changing when user navigates.Everyting is happaning behind the scene usign …

Web Development php session
Member Avatar for diafol
0
291
Member Avatar for SimonIoa

Hello i use jquery colorbox to open a pop up window. It works in all browsers except from Safari. Any clue why?

Web Development javascript
Member Avatar for JorgeM
0
484
Member Avatar for Blueie

Hello I would be grateful for some assistance getting the date to appear on my page, please. This is the code in my aspx.vb file: Dim Label As Object Function ReturnDate() As String Dim theDate As String = "" Dim NumericDayofMonth As Integer = Date.Now.Day Dim OrdinalSuffix As String = …

Web Development asp.net
Member Avatar for JorgeM
0
181
Member Avatar for xuexue

Hi Guys! I'm having problem with uploading the file to the server. This is my code. $path = "Files/01 Admin Procedure/" . basename($_FILES["txtFilename"]["name"]); $x = move_uploaded_file($_FILES['txtFilename']['tmp_name'], $path); //Move file to directory if ($x) { echo "<script>alert('File " . basename( $_FILES["txtFilename"]["name"]) . " has been uploaded!')</script>"; } else { echo "<script>alert('Error …

Web Development file-system php
Member Avatar for xuexue
0
140
Member Avatar for davy_yg

Hello, after migrating from localhost to the server my ckeditor also disabled. I wonder why? At first, I thought maybe because of file path, but my file path appears just fine: input_berita_static.php <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- …

Web Development html-css javascript-jquery php
Member Avatar for diafol
0
296
Member Avatar for gptArun
Member Avatar for veedeoo
0
89
Member Avatar for Transcendent

I can't seem to add my values from my function. ## I keep greating NaN. ## Here is the html code: <!DOCTYPE html> <!-- grocery.html A document for computeCost.js --> <html lang = "en"> <head> <title>grocery.html</title> <meta charset = "utf-8" /> <style type = "text/css"> #column { display:inline; margin-bottom: 20px; …

Web Development apple html-css javascript
Member Avatar for AndrisP
0
219
Member Avatar for davy_yg

Hello, I would like to create navigation tab like this picture: http://www.innovation.web.id/tab2.jpg I just cannot find a way - to create navigation tab like the design. Any idea how to?

Web Development php web-design
Member Avatar for davy_yg
0
79
Member Avatar for phoenix_2000

Hey all, Im working on a website that has to be capable of viewing youtube video's without having to browse to youtube itself. I followed the tutorials from both video.js and video.js' youtube plugin, but when the page loads, it gives me: Uncaught ReferenceError: videojs is not defined (vjs.youtube.js line …

Member Avatar for phoenix_2000
0
2K
Member Avatar for tNicknames

Fatal error: Uncaught exception 'Google_AuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_grant'' in /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/auth/Google_OAuth2.php:115 Stack trace: #0 /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/Google_Client.php(131): Google_OAuth2->authenticate(Array, '4/He7CoB42K1zSX...') #1 /var/www/html/edplace/dev2568/cron_files/cron_job_for_export_and_sent_parent_list_to_google_drive.php(126): Google_Client->authenticate('4/He7CoB42K1zSX...') #2 /var/www/html/edplace/dev2568/cron_files/cron_job_for_export_and_sent_parent_list_to_google_drive.php(7): export_to_csv(Array) #3 {main} thrown in /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/auth/Google_OAuth2.php on line 115 error_reporting(E_ALL); ini_set('display_errors', 1); $clientId = "xxx"; $clientSecret = "xxx"; $authCode = "4/xxxx"; require_once("google-api-php-client/src/Google_Client.php"); require_once("google-api-php-client/src/contrib/Google_DriveService.php"); …

Web Development api google-api json php
Member Avatar for justinbiber
0
572
Member Avatar for mitch.hendrix.73

I am to add script to a set of links on a page to change the image on that page with the switchPix function every time the mouse moves over the text of 'Asian Art Museum', 'City Hall', etc. I don't even know where to start. <article> <h2 id="main">What's Nearby</h2> …

Web Development javascript
Member Avatar for mitch.hendrix.73
0
107
Member Avatar for Paul_29

pls i need help from my friends out there.. i am gettin aform validation error in my contact page when i first try to load it using a webserver like xampp or wampp, else if i jus run with my web browser there is no such error .. here is …

Member Avatar for mattster
0
220
Member Avatar for msolomon.ashish

Hello iwant a script in php i describe my problem below > i checked all the checkbox and updated after updating i am getting values from enable field but when i checked randomly i am not getting updating i am getting different values to be checked Here's the code /* …

Web Development data-structure mysql php
Member Avatar for msolomon.ashish
0
4K
Member Avatar for myfit

Hello everyone, I have a comment system using PHP and ajax, but it only have and function add, now I want to have a function edit comment and delete comment, so I need some example link guide to make reference, who known please share, thank for read. Here is example …

Web Development php
Member Avatar for myfit
0
701
Member Avatar for davy_yg

Hello, The website that I build has xampp logo sides it's title. I wonder how to erase it? Daniweb has the right logo - > Mind has xampp logo in it. I would like to erase it or change it but I do not know how to? index.php <!DOCTYPE html> …

Member Avatar for almostbob
0
298
Member Avatar for muralibobby2015

I am using mailgun. now i am sending mail from gmail to my domain. using mailgun api i am getting that and showing that content in my webpage. but when i am adding images in middle of the text or in signature of the mail image is not showing in …

Web Development api php
Member Avatar for diafol
0
1K
Member Avatar for Violet_82

Hi all, I was just wondering, how do I go about making an asp.net application accessible on the internet? The application is also linked to a SQL database (created in visual studio). I have got server space available but I'm not sure where the sql database needs to be copied …

Web Development asp asp.net visual-studio
Member Avatar for JorgeM
0
683
Member Avatar for blueguy777

i have a database table with fields mobno1 and mobno2, first i would like store all the values of field mobno1 into var1 and field mobno2 into var2 by using comma seperator and pdo. my code is as follows. $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "SELECT mobno1,mobno2 FROM custreg"; …

Web Development php
Member Avatar for blueguy777
0
461
Member Avatar for meakish

i just installed wamp server then php version 5.2.6 but when i start the wamp server services and select the phpmyadmin option, a page with the error 'phpMyAdmin - Error Cannot load mysqli extension. Please check your PHP configuration. - Documentation' p what can i do to fix it? i …

Web Development php
Member Avatar for penny.anne.9
0
235
Member Avatar for davy_yg

Hello, I am trying to fix my server file path. After moving my web project file from localhost to the server. There are several errors that appears. One of them is: Destination folder does not exist or no permissions to see it. file_upload_exercise.php define('DESTINATION_FOLDER','c://xampp/htdocs/squprime/administrator/admin/materialstorage/'); if (!@file_exists(DESTINATION_FOLDER)) { $errors[] = "Destination …

Web Development php
Member Avatar for broj1
0
230
Member Avatar for Blueie

Hello I have what looks like a serious compiler error, serious in that I cannot see any of my files in the browser. When I click on 'View in Browser', I get this compiler error: **BC30451: 'DefaultAuthenticationTypes' is not declared. It may be inaccessible due to its protection level.** That …

0
102
Member Avatar for Blueie

Hello In my success.aspx file, I have: <asp:Label ID="LblDate" runat="server" class="labelStyle" Text="Label"></asp:Label> and <div class="center"> <asp:Label ID="Name" runat="server"></asp:Label> you have successfully registered </div> and in my success.aspx.vb file, I have: Code for the date, which works, and then: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load …

Web Development asp.net
Member Avatar for BMXDad
0
198
Member Avatar for ashalatha

How to delete Data from multiple tables. For example Iam having category id in one data base table .in another data base table iam having this id if i delete category id it should display a message as first delete in that table if the id is there in that …

Web Development display php
Member Avatar for Isaac_4
0
564
Member Avatar for soomro_moon

hello everyone im working on my masters thesis project, i need a help on how to convert md5 password into binary andthen generate a randomly number, then calculate there exclusive OR, i mean that suppose i have attechd the code in this msg. but the PROBLEM here is that it …

Web Development php
Member Avatar for cereal
0
556
Member Avatar for praba_web

i want to print the bill to printer from php mysql database? is it possible? help me please!!!!!

Web Development mysql php printer
Member Avatar for cereal
0
11K
Member Avatar for davy_yg

`Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\administrator\admin\schedule.php on line 187` admin/schedule.php //LOAD CLASS LIST $sqlstr = "SELECT * FROM class_list INNER JOIN `group` ON class_list.group_id = `group`.group_id INNER JOIN teacher ON class_list.teach_id = teacher.teach_id INNER JOIN class ON class_list.class_id = class.class_id WHERE datetime > '".date('Y-m-d …

Web Development mysql php
Member Avatar for pritaeas
0
436
Member Avatar for myfit

Hello all, I'm code php concern with google map api, run it don't alert error, still marker and display infowindows but map don't display, I need hear some advice or guide to solve it problem. thank for help P/s: Sorry that my ability of English is not good http://i1095.photobucket.com/albums/i472/OLAKEN91/ff_zps9e66a073.png

Web Development api display google google-api php
Member Avatar for veedeoo
0
275
Member Avatar for Nirmala_1

Hi, all. Currently i am facing some problem with my coding. I am used this code to insert data from multiple checkbox values into database. but its still not happen anything. Sorry, i am new to php. Please can anyone help me on this? I would be more appreciate if …

Web Development data-protection php
Member Avatar for Isaac_4
0
2K
Member Avatar for Keyra Lee

hello guys.. i have made a form in checkbox which is in fieldset by categories.. so now the values is success inserted into database.. but i've got problem to make it displayed. The form will pass value YES if user select from form. if user select a checkbox at form. …

Web Development php
Member Avatar for toxicandy
0
166
Member Avatar for arafath077

<div class="btn-group"> <button type="button" class="btn btn-sm btn-success btn-flat dropdown-toggle" data-toggle="dropdown"> Action <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="done">Done</a></li> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="processing">Processing</a></li> <li><a id="action" class="a" href="#action" data-index="100" data-toggle="error">Error</a></li> </ul> </div> <script> $( "#action" ).on("click", "a.a", function(){ //alert('working'); var id = $(this).data('index'); var status …

Web Development javascript
Member Avatar for pritaeas
0
170
Member Avatar for markii.borabon_1

im new in web development and i wanna know, how can make a dynamic file path or dynamic source directory. its like : <img id="branding-logo" src="/image/logo.png"> <link rel="stylesheet" href="/images/green.css"> <script src="/js/jquery.js"></script> main { background: url('/images/CAT119/hp-images/hptilebggreen.jpg') top left repeat-x; } so basically what i want to know is how can i …

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

Hello, I am trying to create a messaging system inter-user within the same website. 1 message_id int(4) 2 from_stu_username varchar(30) 3 date datetime 4 messages varchar(200) 5 to_stu_username varchar(30) admin/messages.php //Hapus berita // undefined index: mode if (!empty($_REQUEST['message_id'])) { $message_id = $_REQUEST['message_id']; $result = mysql_query("DELETE FROM messages WHERE message_id =".$message_id) …

Web Development php
Member Avatar for davy_yg
0
171
Member Avatar for RonKevinT.Manuela

I'm new to git bash using console2: what Im trying to do here is to "ti build -p android -T device" but at the end it shows me the following error events.js: 72 throw er // unhandled 'error' event ^ Error: spawn OK at errnoException(child_process.js:980:11) at childProcess._handle.onexit(child_process.js:771:34)

Web Development android javascript
0
112
Member Avatar for sahs1hdv

I need to know how I can display the data stored in the database using php when a user load a page, without necessary puting them as it is on a static web page.

Web Development php
Member Avatar for broj1
0
272
Member Avatar for ernesto22

hi. i'm seeking help with checkboxes.i have built a ordering system. i have two tables "food" and "refreshments" both consists of columns "name,price" . what i want to do is . if i click on my submit button , all the checked checkboxes should be added up and have a …

Web Development html-css javascript-jquery php sql
Member Avatar for broj1
0
117
Member Avatar for london-G

Basically, the slider does not work on my website. I think that this is due to a javascript conflict however i am not 100% sure about that. I have used firebug and it came up with the error "TypeError: my_glider is undefined" Here is the code: <div class="homepage"> <div id="slider"> …

Web Development cms javascript
Member Avatar for JorgeM
0
215
Member Avatar for nufftalon

I am not sure what I am doing wrong but can't seem to recieve test email for this php form the form is at the bottom of this code snippet <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>MIAPP</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <!-- FAVICON --> <link rel="shortcut …

Member Avatar for nufftalon
0
327

The End.