39,320 Topics

Member Avatar for
Member Avatar for AntonyRayan

This is my index page <html> <head> <title>Login - FLATY Admin</title> <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="css/flaty.css"> <link rel="stylesheet" href="css/flaty-responsive.css"> <link rel="shortcut icon" href="images/login.png"> <script type="text/javascript"> function loginFunction() {//alert('kjo8iyh78i'); var username = document.getElementById("username").value; var password = document.getElementById("password").value; if(username == "") { alert('Enetr User Name'); } else if(password …

Member Avatar for Traevel
0
959
Member Avatar for majo.zejdzekmrva

Hi guys, i need selected option value of a drop down list will refresh index page and change data with row by ID from Database which user choose. It is test for imagine. hint: number of id = number of question look at DB - [Click Here](http://uploads.im/WXxZu.png) i have some …

Member Avatar for Bile
0
442
Member Avatar for AntonyRayan

This is my index page: <html> <head> <title>Login - FLATY Admin</title> <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="css/flaty.css"> <link rel="stylesheet" href="css/flaty-responsive.css"> <link rel="shortcut icon" href="images/login.png"> </head> <body class="login-page"> <div class="login-wrapper"> <form action="welcome.php" method="get"><!-- id="form-login"--> <h3>Login to your account</h3> <hr/> <div class="form-group"> <div class="controls"> <input type="text" id="username" value="username" /><!--placeholder="username",,,class="form-control"--> …

Member Avatar for AntonyRayan
0
222
Member Avatar for zebnoon1

Dear Friend, I create a dropdown list and want to retrieve data(company name list) from MYSQL to this dropdown list ,please, help me.no error but data does not show. code is bellow Company Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php include "conn.php"; $sql="SELECT * FROM login1 "; $result=$conn->query($sql); echo "<select name=cn value=''>Company Name</option>"; // list …

Member Avatar for zebnoon1
0
266
Member Avatar for ram1711

Can any one help me to get or understand clear structure about ht access in php as i am beginner to php

Member Avatar for Taywin
0
82
Member Avatar for GlobalVillage

hi - i read other threads but don't think i have found the answer (or maybe just don't know how to implement it...) for this. i have a mysql table with columns for an item size, amongst other things. the user fills in a form in which mulitple sizes may …

0
94
Member Avatar for Ramesh Konda

<?php header("Content-Type: image/jpeg"); $im = imagecreatefromjpeg('000.jpg'); // get the image size $w = imagesx($im); $h = imagesy($im); // place some text (top, left) imagettftext($im, 60, 0, 300, 100, 0xFFFFFF, 'vani.ttf', 'వాసి'); imageJpeg($im, "001.jpg", 85); imagepng($im, $save); imagedestroy($im); ?> Above i the code what i did? But its not giving proper …

Member Avatar for imti321
0
208
Member Avatar for hell hansen

Hi guys, I'm trying to connect my new project with PDO, and for simple reason witch i don't know and i've no idea i'm getting connection failedSQLSTATE[28000] [1045] Access denied for user 'www-data'@'localhost' (using password: NO) I tried everything was in my mind, i tried log to mySql by terminal, …

Member Avatar for hell hansen
0
1K
Member Avatar for <M/>

I created a form a long time ago (roughly 2 years ago) and I stumbled onto a problem. I know how to record a contact form input when it comes to them typing in whatever they have to say (such as their name) but how do I get it so …

Member Avatar for <M/>
0
589
Member Avatar for mark2326l

I'm trying to calculate the number of days a particular property is vacant. From this query... SELECT Properties.PropId, Tenants.TenantId, Tenants.PropertyID, Tenants.TenantAdress, Tenants.MoveIn, Tenants.MoveOut, Properties.P_GpNo FROM Properties, Tenants WHERE Tenants.PropertyID=Properties.PropId AND Properties.P_GpNo ="3" AND TenantAdress = "5" ORDER BY Tenants.TenantId It returns.. MoveIn MoveOut 5 4 005 5 2012-12-28 2013-04-13 3 …

Member Avatar for mark2326l
0
274
Member Avatar for vizz

I want to stop direct access for dynamic url. If someone tries to access next link **http://abc.com/gallery.php?id=1** then redirect to **error404** page Value of **id=1** is dynamic and changes frequently. How to redirect if **id=2** or any other value (0 to **∞**)? **php redirect code** $curPageURL="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $url="http://abc.com/gallery.php?id=1"; if($curPageURL == $url) …

Member Avatar for almostbob
0
450
Member Avatar for WarrenG.27

Hello, Im having a spot of bother with the below function.Its been a year or two since I looked at any php so I thought I would try and make a noughts and crosses game to refreash my memory while I was off over Christmas "just for fun" and Ive …

Member Avatar for diafol
0
116
Member Avatar for Chris920

Hey everyone. I am looking to be pointed in the right direction here, tutorial, wordpress plugin..etc Im working on a site for my friend and he wants a "matching" system. Think tinder dating app almost. Two people "like" eachother based on their picture and they match. Hes looking more for …

Member Avatar for Chris920
0
330
Member Avatar for newbie14

I have a very simple php curl application where below is my codes I used to send header and body to server. <?php $xml_data = "<Request><NewOrder>"; $URL = "http://localhost/rece1.php"; $header =""; // Build header as array for cURL option $header = "HTTP/1.0\r\n"; $header.= "MIME-Version: 1.0\r\n"; //$header.= "Content-type: application/PTI46\r\n"; $header.= "Content-length: …

0
209
Member Avatar for balu_veer

Hello, I am new to php and here i have index.php with two portions. 1.portion: with two textbox with search button 2.portion: with three textbox with search buttons again. when i click one search button it's filling the data. but when i click the second button,1.portion textbox's values are not …

Member Avatar for James singizi
0
166
Member Avatar for SoftP

Hello Developers, How to Delete And Update particular row of CSV file in php. <a href="http://screenshot.ru/upload/images/2014/12/26/update625ff.png"></a> Thanks & Regards, Dinesh Thakur

Member Avatar for Traevel
0
2K
Member Avatar for pryidevsblog

I am creating the pdf report and when I am running the script than I am facing the below error. I search about same error over here and I find one thread too but with the help of it I get in more trouble. So any body here can help …

Member Avatar for broj1
0
887
Member Avatar for shafakhat91

Here is the Table i Created in database... CREATE TABLE `a1878876_uonrm`.`saveproposal` ( `ID` INT( 20 ) NOT NULL AUTO_INCREMENT , `PI` VARCHAR( 500 ) NOT NULL , `Email` VARCHAR( 200 ) NOT NULL , `RTitle` VARCHAR( 500 ) NOT NULL , `Coauthors` VARCHAR( 500 ) NOT NULL , `ExSummary` VARCHAR( …

Member Avatar for broj1
0
406
Member Avatar for Anati

how to admin and user to login in the same interface but after login admin will go to page register staff. while the user will go to search page staff who have been on the list by admin. what are the steps that need to be placed and coding for …

Member Avatar for hiren2927
0
119
Member Avatar for brianbabu

Hey guys, I'm having the most toughest time of my life to figure out a way to upload video files using PHP. I am able to upload images but not video files or zip files. I haven't put any file extension check right now. Here is my code, will you …

Member Avatar for hiren2927
1
377
Member Avatar for dayanadolce

hello there. i want to send email but i use localhost. the mail() function does't seems working as it says something is wrong with the port etc. <?php $sendmail = (mail('sample@yahoo.com','sample email','sample content','From: from@gmail.com')); if($sendmail) {echo "success"; } else {echo "unsuccess";} ?> even the simple email as above cannot be …

Member Avatar for dayanadolce
0
377
Member Avatar for rubysethi
Member Avatar for Priti_P

Hello, Suppose I have resume. On upload of resume, I want my form fields get filled with values like (atleast) mobile number,email id,address (etc) Is there any avilable script which can fetch details like this?

Member Avatar for pritaeas
0
246
Member Avatar for uchejava

I am working on a Private Messaging Service (PMS) on my website. This is how my 'message' table on my MySQL database look like. id sender_id receiver_id message 1 2 3 hi 2 3 2 You good? 3 2 3 sure 4 1 3 hello 5 3 1 yes Now, …

Member Avatar for diafol
0
160
Member Avatar for Donal99

Dim Names As String = txtfrom.Text Dim Email As String = "E@mail.com" Dim Phone As String = "8979876785" Dim Address As String = "Location" Dim postData = "&Names=" & Names & "&Email=" & Email & "&Phone=" & Phone & "&Address=" & Address Dim request As WebRequest = WebRequest.Create("http://localhost/testserver/sendmail.php") request.Method = …

Member Avatar for Donal99
0
442
Member Avatar for jKidz

Hi Friends, First of all, I would like to Wish you a Happy & Christ centered Christmas to you all. I am coding a forum to increase my knowledge. In New Article Creation, I want to restrict if user post a thread within last 1 minute, let him or her …

Member Avatar for chrishea
0
87
Member Avatar for vizz

How to write .htaccess for following links? Something like home.php/page/about home.php?page=about home.php?page=services home.php?page=events home.php?page=gallery&id=1 **//redirected from home.php?page=events//** home.php?page=contact **home.php** $default = 'default'; $page = isset($_GET['page']) ? $_GET['page'] : $default; if (!file_exists(''.$page.'.php')) { $page = $default; } include(''.$page.'.php'); **e.g** page=about is used to get about.php **include(''.$page.'.php');** this includes **about.php ** for …

Member Avatar for imti321
0
167
Member Avatar for Osagie_1

Can anyone help me clear this issue ? I have a JsonMaker class as: class JsonMaker { protected $jsonObj; protected $path; function __construct($filepath) { $this->path = $filepath; $str = file_get_contents($this->path, true); $this->jsonObj = json_decode($str, false); } public function Test_1($rootName){ $file = file_get_contents($filepath, true); $data = json_decode($file, false); foreach ($data->{$rootName} as …

Member Avatar for broj1
0
127
Member Avatar for Shikha_1

how msg is send to mobile from localhost . i need php code settings in nowsmsgateway settings in php.ini setting in httpd.conf file

Member Avatar for Sangeeta_2
0
217
Member Avatar for rohoni

Hi i am developing a new website for mobile shop in php, I need to implement to send sms for the login users, please help me with code in php

Member Avatar for Semy
0
352

The End.