39,316 Topics

Member Avatar for
Member Avatar for pranay1995

Hi all, i am trying to run the following HTML page which is the memebers area after the user login is sucesful the session is registered please check it and help me:- HTML code:- <!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" xml:lang="en" lang="en"> <head> <style type='text/css'> /* …

Member Avatar for pranay1995
0
246
Member Avatar for davy_yg

Hello, I am trying to import mysql backup from the old computer to the new computer and these error appears: Pencarian SQL: -- -------------------------------------------------------- -- -- Table structure for table `nafqc_usergroups` -- CREATE TABLE IF NOT EXISTS `nafqc_usergroups` ( `id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', …

Member Avatar for peter_budo
0
78
Member Avatar for scorpionz

Hi this is scorpionz.. i am facing a problem for the last 5 hours as URL file-access is disabled in the server configuration Description: I have a project with path c:/xampp/htdocs/mysite/config.php Thats my configuration file name. I have a folder in root which is getting connection c:/xampp/htdocs/mysite/folder/testpage.php now when I …

Member Avatar for scorpionz
0
635
Member Avatar for scorpionz

Hi this is scorpionz: I need to know how to insert PHP block in database using PHP, because i am generating random tables. So i need that to insert: Here is the query: [code] <?php $sql_insert_revisions = 'INSERT INTO node_revisions(nid,vid,uid,title,body,teaser,TIMESTAMP,FORMAT) VALUES ('.$nid_ins.','.$vid_ins.','.$user_id.','.$ad_title_view.', '"<?php $block = module_invoke('block', 'block', 'VIEW', 66); print …

Member Avatar for scorpionz
0
467
Member Avatar for davy_yg

Hello, I am trying to import mysql backup from the old computer to the new computer and these error appears: Pencarian SQL: -- -------------------------------------------------------- -- -- Table structure for table `nafqc_usergroups` -- CREATE TABLE IF NOT EXISTS `nafqc_usergroups` ( `id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', …

Member Avatar for joshl_1995
0
136
Member Avatar for Djmann1013

I am having trouble with this code: <!DOCTYPE html> <html xmlns:fb="http://ogp.me/ns/fb#"> <body> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <fb:like href="http://www.MyWebsite.com" send="false" layout="button_count" width="200" show_faces="false" font="verdana"></fb:like> </body> </html> The …

Member Avatar for LastMitch
0
164
Member Avatar for Albert Pinto

Hi People, Got a small issue...... And don't know exactly where the problem is. I'm trying to implement Online Manga Viewer in my site. I've tried this as a stand alone page and it works fine. What this viewer does is... There is a select box... Where I've got to …

Member Avatar for magicmarkuk
0
175
Member Avatar for satheeshr07

Hi All, I am trying to rewrite the URL http://www.example.com.br/folder/sub_folder/my_profile.php to http://www.example.com.br/folder/my-profile. I have tried lot of rewrite method but i can’t redirect the URL. Please anyone help to solve this.

Member Avatar for diafol
0
112
Member Avatar for kumar gowrav
Member Avatar for JorgeM
0
55
Member Avatar for duneflyingyfz_1

Hi all, ive got a big question about conducting mysql_queries.. i have a schedule program that needs to sort through and pick the records that apply.. the date will change, and used a php date() formatted to mysql date and pick out the ones records that are active vers inactive. …

Member Avatar for duneflyingyfz_1
0
2K
Member Avatar for lifeworks

Hi I work on a 'play play server' on my pc, for lack of a real server, for this I use WampServer, I have recently updated my version. I suspect its running PHP5 - and Im used to PHP4 behaviour... Most of the pages I use forms on have the …

Member Avatar for eelias75
0
343
Member Avatar for muhammad.waleed.9699

i try different method to hide the "hide" div if status result is "E" i have four status : R ,A , I and E,, if status is E then show the "hide" div other vise hide it,, you people suggest me something, thanks in advance,,, code is here : …

Member Avatar for blocblue
0
878
Member Avatar for priya667

I'm a newbie here trying to figure out why my simple php code is not working inside html. Files with .php extension however works fine.The page is just blank. I modified the following line "AddType application/x-httpd-php .php" in http.conf to "AddType application/x-httpd-php .php .html" I tried adding these lines to …

Member Avatar for diafol
0
2K
Member Avatar for MMadhavi

I have one table as movie. In that i have one field as 'image' in which i want to store the images. In my mca project, I m trying to make admin panel. For this when administrater is going to add movie details, at that time i want to store …

Member Avatar for diafol
0
219
Member Avatar for daniel36

Can anybody tell me another good file uploader than blueimp and plupload?

Member Avatar for diafol
0
165
Member Avatar for ibekzy

I am using cPanel webmail interface to acces my company's email but I was requested to change the webmail branding with my company logo and color theme. I found out there are 3rd party web mail application that I can plugin into cPanel but I cant find one. Can you …

Member Avatar for diafol
0
185
Member Avatar for cutiexhubx_1

how to make a private message using php? please help me with my project .. i need full details.. thankyouxoomuch :)

Member Avatar for pritaeas
0
57
Member Avatar for tom.vardy.12

include '../../snippets/connect.php'; $orgid = $_GET['orgid']; if(!isset($orgid) || empty($orgid)){ die("Please select your image!"); }else{ $query = mysql_query("SELECT orghomepic FROM org_home_pic WHERE orgid='".$orgid."'"); $row = mysql_fetch_array($query); $content = $row['orghomepic']; if (empty($content)) { **$image = imagecreatefromjpeg('http://www.ineed.org.uk/dev/media/images/nohomepic.jpg'); header('Content-type: image/jpg'); imagejpeg($image);** } else { header('Content-type: image/jpg'); echo $content; } } So this was working previously …

Member Avatar for tom.vardy.12
0
217
Member Avatar for divyakrishnan

Hi, I want to upload files from one remote server to another using CURL I used following to upload a text file in "localhost/uploads/example.txt" to another machine http://192.168.0.202/example/ <?php $ch = curl_init(); $data = array('name' => 'Foo', 'file' => '@localhost/uploads/example.txt'); curl_setopt($ch, CURLOPT_URL, 'http://192.168.0.202/example/'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_exec($ch); …

Member Avatar for ainosilva
0
1K
Member Avatar for fujilec

hi, i already reach to the end of my project, however there are still minor features i want to add in for the upload. When the user upload their pictures, i need to create a folder for that particular user and store the picture inside, means different user for different …

Member Avatar for Qyla21
0
2K
Member Avatar for fahad.tariq

Im developing a simple attendance system for my organization im updating the checkin and checkout on session base so when the user get login and its session created i stored the the time in database and when he logout and the session and distroyed i update the field of checkout …

Member Avatar for blocblue
0
137
Member Avatar for HasNor

Dear all, I have a problem to count the total of receiving items.. but when I run this code I output of the total displayed "1".. not "5"...here my code.. hope someone can help me to count the total of receiving.. <?php include 'connection/db_connect.php'; ?> <form name="form1" method="post" action=""> <table …

Member Avatar for blocblue
0
147
Member Avatar for rotten69

Hi everyone, I'm sure there are people who are using highCharts framework. I'm having a trouble passing the values to jquery code from PHP json. Your help is so appreciated. This is my php section <?php header('Cache-Control: no-cache, must-revalidate'); header('Expires: Mon, 01 Jan 2013 00:00:00 GMT'); // The JSON standard …

Member Avatar for rotten69
2
401
Member Avatar for phpperl

**I have a string** $string =" HTTP/1.1 200 OK Connection: close Date: Tue, 25 Sep 2011 14:09:35 GMT Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Server: Apache-Coyote/1.1 Content-Length: 12881 Content-Type: text/xml;charset=utf-8 Client-Date: Tue, 25 Sep 2012 14:09:35 GMT Client-Peer: 123.46.53.940:8080 Client-Response-Num: 1 <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Header/> <soap-env:Body> <PlexViewResponse Command="rtrv-ngfs-subscriber-v2" …

Member Avatar for cereal
0
121
Member Avatar for daniel36

first thank you for solving privious problems. I am working on codeigniter . i am making signup form in which countries dropdown list is required. i am unable to make this drop down list with table country in my database.Can any one help me.

Member Avatar for wesley1263
0
4K
Member Avatar for andyy121

if($username&&$password) { $connect = mysql_connect("localhost","root","") or ("Couldn't connect!"); mysql_select_db("phplogin") or die ("Couldn't find db"); $query = mysql_query("Select * FROM users WHERE username='$username'"); $numrow= mysql_num_rows($query); i just wont to know the IF statement when it stars what is his function in the code.

Member Avatar for diafol
0
131
Member Avatar for prajwalk73

<?php /********************************************************************************* * Filename: index.php * * PHP 4.0 + MySQL + AJAX *********************************************************************************/ //------------------------------- // index CustomIncludes begin include ("./common.php"); include ("./Header.php"); include ("./Footer.php"); // index CustomIncludes end //------------------------------- session_start(); //=============================== // Save Page and File Name available into variables //------------------------------- $sFileName = "index.php"; //=============================== //=============================== // index PageSecurity …

Member Avatar for prajwalk73
0
223
Member Avatar for daniel36

Can i restrict a file to direct download.suppose in my domain i am having a upload folder in which i am having a exam.pdf file then it should not be downloaded by accessing url http://www.mydomain.com/upload/exam.pdf . If it is possible then please tell me the way.

Member Avatar for sDJh
1
105
Member Avatar for ssfox

Hello everyone, Im new in web development, Im using localhost (XAMMP),I'm trying to make my website which basically allows users to compile and run their submitted java program on my server(my web page).Essentially, I want when the users click a button(upload) they upload file from file source(e.g desktop or anywhere …

Member Avatar for ssfox
0
147
Member Avatar for eburlea

Hello, Is it possible to use a PHP code to create a drop-down list that automatically inserts a word from MySQL table after writing a character? For example when I type "a", all the entries beginning with "a" show in order, then I type "n", then all entries begins with …

Member Avatar for eburlea
0
583

The End.