71 Topics

Member Avatar for
Member Avatar for davBro

Hi can someone help me out, please. I have been using the same file upload script on three websites that I manage, with great success. But recently I have encountered some errors when accessing the file upload form on my locahost server on my own computer server. This has never …

Member Avatar for davBro
0
402
Member Avatar for anevins

Hello, I can't use CURL, $ch = curl_init(); I get the error > Fatal error: Call to undefined function curl_init() I've used `phpinfo()` and found the php.ini directory, > Loaded Configuration File D:\wamp\bin\apache\apache2.2.22\bin\php.ini I've then edited the php.ini file from that directory and removed the semi-colon in-front of extension=php_curl.dll Restarted …

Member Avatar for anevins
0
9K
Member Avatar for Pyler

I use dr java for linux to run my code. I've been running into a bunch of errors recently while running this simple program. The code compiles fine but whenever I run the java file, I get the error; Static Error: Undefined name here's my code; (I've got two files, …

Member Avatar for TrustyTony
0
2K
Member Avatar for makibao

<form id="form1" name="form1" method="post" action=" <?php include("connect.php"); require("search2.php"); $username = $_SESSION['email']; ?> "> <p> <input type="text" name="search" id="search" value=""/> <input type="submit" name="btnSearch" id="btnSearch" value="SEARCH" /> </p></form> search2.php <?php include("connect.php"); $username = $_SESSION['email']; $name=$_POST['search']; $query = mysql_query ("Select * from confirm_members where email = '$name'"); if(mysql_num_rows($query)==0) die ("User not found"); else …

Member Avatar for pritaeas
0
774
Member Avatar for cristian.stilpeanu.3

Hi, i have a problem of some days. I'm working to a website but when I installed it I have a very noticeable error page, I wrote: "Notice: Notice: Undefined index: user_name in C:\xampp\htdocs\index.php on line 118" How can I get rid of this writing. Thank you! It is a …

Member Avatar for pritaeas
0
269
Member Avatar for davy_yg

Form Captcha <script> function checkForm() { if (document.forms.myphpform.elements['yname'].value.length == 0) { alert('Please enter a value for the "Name" field'); return false; } if (document.forms.myphpform.elements['email'].value.length == 0) { alert('Please enter a value for the "Email" field'); return false; } if (document.forms.myphpform.elements['message'].value.length == 0) { alert('Please enter a value for the "Message" …

Member Avatar for davy_yg
0
1K
Member Avatar for laetitia--

Hello, I am newb with php I got a strange message error, that is: [U]Notice: Use of undefined constant y - assumed 'y' in /home/www/healthforum.uib.no/htdocs/ohcsurvey/survey/sp1.php on line 139 [/U] I am making a survey where the user , by cliking radio buttons, can choose between yes or no to a …

Member Avatar for ryantroop
0
1K
Member Avatar for carol.cable.37

<?php $first = $_POST['first']; $last = $_POST['last']; $email = $_POST['email']; $phone = $_POST['phone']; $Submit = $_POST['Submit']; $first = strtolower($first); $last = strtolower($last); $first=ucfirst($first); $last=ucfirst($last); $general = " <br> Please try again ! "; $no_first = " your first name, please... "; $no_last = " your last name, please..... "; $no_phone …

Member Avatar for blocblue
0
313
Member Avatar for Code_Geek

I have a problem with the following code.Please help me out #include<stdio.h> #include<iostream> #include<conio.h> #include<winsock.h> #include<winsock2.h> #include<fstream> #include<windows.h> #define WIN32_MEAN_AND_LEAN #include <sys/types.h> #include <streambuf> #include<string.h> using namespace std; int main() { int length; char *buffer; const int iReqWinsockVer = 2; WSADATA wsaData; if (WSAStartup(MAKEWORD(iReqWinsockVer,0),&wsaData)==0) { if (LOBYTE(wsaData.wVersion) >= iReqWinsockVer) { …

Member Avatar for triumphost
0
402
Member Avatar for Misbah khan

my code gives undefine index error .. and i don't know how to solve it... i m making online testing program but every eror in every step is undefine index error... ok my html file is <html> <form action = "http://localhost/onlineexam/home.php" method = 'get'> <center><h1>WELCOME TO ONLINE EXAMINATION</h1> <br> <br> …

Member Avatar for Misbah khan
0
186
Member Avatar for LieAfterLie

I was following [this tutorial](http://www.swiftless.com/tutorials/opengl4/1-opengl-window.html) for my first attempt at OpenGL. All I'm doing is initializing an empty window. His VS 2010 code is [here](http://www.swiftless.com/?download=1%20-%20OpenGL3%20-%20Window). Using Dev-C++ as my IDE on Windows 7, and MS SDK 7.1, I get this error: [Linker error] undefined reference to `_imp____wglewCreateContextAttribsARB' ld returned 1 …

Member Avatar for DeanMSands3
0
1K
Member Avatar for spowel4

I am having trouble getting this to work. I have a form which when the Go button is clicked, calls a function; code for the form & the script listed below: <script> function RunSelectedReport(reportChoice) { alert("reportChoice: " + reportChoice); if ( reportChoice === "AllCalls" ) { alert("All Calls"); } else …

Member Avatar for spowel4
0
337
Member Avatar for epson121

Hello everyone. I'm having a problem with my cookie. What I'm trying to do is this: When user logs in and checks the "remember me" checkpoint, i want to save his username to $_COOKIE['user']. [] For that I am checking whether the $rem variable is set. If this is not …

Member Avatar for epson121
0
5K
Member Avatar for emaleroland

I was asked to look at some code written in ColdFusion which I've had very little exposure to and haven't seen since the 90s and some of it is not clear and I'm sure it's basic. I got past one error because of a typo in a variable name. Now, …

Member Avatar for arrgh
0
261
Member Avatar for heshanm

I have a login form and i want to enter username & password to log into the system. When loading the page (index.php) there was an error displayed like this. >Notice: Undefined index: msg in C:\wamp\www\Home page\new student registration\index.php on line 13 index.php <form id="form1" name="form1" method="post" action="adminloginvalidate.php"> <?php $message=$_POST["msg"]; …

Member Avatar for heshanm
0
233
Member Avatar for aiioef

hello~ i just join in this discussion ....er i am Chinese,so my English is poor i search this problem in Google,but i can't find some useful information some people said PHP version cause this problem... i use PHP 5.3.3 but i saw PHP 5.2.1 books [CODE]<html> <title> test </title> <body> …

Member Avatar for mohamedasif18
0
2K
Member Avatar for issaru07

i have a page which list all the products and there are checkbox to do muiltiple deletion. but there is an error on line 62 for the $delete [CODE]<html> <head> <title>delete</title> </head> <body> <? $objConnect = mysql_connect("localhost","root","booo33384") or die(mysql_error()); $objDB = mysql_select_db("db-test"); //$strSQL = "SELECT * FROM products3"; $strSQL = …

Member Avatar for issaru07
0
348
Member Avatar for PrettyBird

Right, first of all I'm new to PHP and I was trying if I could update information in table via a form. So here's the problem: I was unable to UPDATE my existing data in a table through a form using this code: $updateFN = "UPDATE person SET firstName='$_POST[updateFN]' WHERE …

Member Avatar for phorce
0
254
Member Avatar for dmtYork921

Hi, I created this student calculator code but in MASM32 it keeps giving me errors. I've modified it about 10 times but it's still wrong. Could anybody help me? [CODE].data ;the terminators NULL EQU 00H CR EQU 0DH LF EQU 0AH ;number of test scores allowed MAXSCORES EQU 5 ; …

Member Avatar for thines01
0
390
Member Avatar for aaloo

i am getting this error Notice: Undefined index: firstName in C:\xampp\htdocs\flasblog\test.php on line 3 Notice: Undefined index: lastName in C:\xampp\htdocs\flasblog\test.php on line 3 here is my php code [code] <?php include_once"scripts/connect.php"; ?> <?php $text=$_POST['firstName']." ".$_POST['lastName']; $to="anubhavjhalani09@gmail.com"; $subject="Message from php"; //data insert into database $sql="INSERT INTO entries (contents) VALUES ('$text')"; echo …

Member Avatar for Biiim
0
3K
Member Avatar for Brachamul

Hello world ! First of all, i'd like to say that this is my first page in PHP, so i may have made the most basic of mistakes :) I wrote most of this from a tutorial i found somewhere on the web. I get the following errors : Notice: …

Member Avatar for Brachamul
0
687
Member Avatar for primacag

Any help appreciated in advance.... I have been trying to get a javascript to use ajax to call a php script to read from an mysql database and write out an xml dom document so that I can add markers to a google map. I think I have all the …

0
84
Member Avatar for fradiavolo

Why is it saying "Notice: Undefined variable: cnt in C:\Wamp\www\librarie\cos.php on line 24". Here is the code: [CODE]<?php session_start(); include("conectare.php"); include("page_top.php"); include("meniu.php"); if (isset($_GET['actiune']) && ($_GET['actiune'] == "adauga")) { if (!isset($_SESSION['cnt']) || !$_SESSION['cnt']) $_SESSION['cnt'] = '0'; $cnt = $_SESSION['cnt']; $cnt++; $_SESSION['cnt'] = $cnt; $_SESSION['nr_buc'][] = 1; $_SESSION['pret'][] = $_POST['pret']; $_SESSION['titlu'][] …

Member Avatar for fradiavolo
0
189
Member Avatar for Joe34

I think I must be blind ;) [CODE]$Title = $_POST['title']; $Category = $_POST['category']; $Content = $_POST['article']; $Tags = $_POST['tags']; $Description = $_POST['description']; //error below... $Title = addslashes($Title); //error above... $Category = addslashes($Category); $Content = addslashes($Content); $Tags = addslashes($Tags); $Description = addslashes($Description);[/CODE] I declared title the first time... $Title = $_POST['title']; …

Member Avatar for karthik_ppts
0
223
Member Avatar for razgrizz25

Undefined variable: no in C:\xampp\htdocs\war\cPanel\pollingTampil.php on line 28 [CODE]<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Daftar Polling</title> </head> <body> <table width="702" border="0" cellspacing="1" cellpadding="2"> <tr> <td width="58">no</td> <td width="232">pertanyaan</td> <td width="122">op1</td> <td width="104">op2</td> <td width="96">op3</td> <td width="59">&nbsp;</td> </tr> <?php include "inc.session.php" ; include 'C:\xampp\htdocs\war\librari\inc.koneksi.php' ; $sqlTampil = "SELECT * FROM polling …

Member Avatar for ko ko
0
177
Member Avatar for pato wlmc

Well, I'm really new into JS and I'm actually more into C++, but I decided to give it a try since I'd love to develop some online games, using the new Canvas element HTML5 is providing. But before that i need to get the basics. What I'm trying to do …

Member Avatar for pato wlmc
0
4K
Member Avatar for ritu143

Hi, I am new to c++, facing difficulty in compiling the following code [CODE]#include <iostream> #include<string.h> using namespace std; class myclass { public: int i, j, k, *l; // accessible to entire program static int *m; }; int myclass::*m = NULL; int main() { myclass a, b, *p; a.i = …

Member Avatar for rubberman
0
2K
Member Avatar for RapidFire4Life

Hi, i have to write a program to allow the user to input 5 candidate names and the number of votes they received, then it calculated what percent of the vote each candidate received and then ten tells the user who won. I think I've got a code that will …

Member Avatar for RapidFire4Life
0
265
Member Avatar for tripwirekse

Hello, I'm very new to PHP and am trying to code a basic content management system. Every time I try and test my login I get a blank page and the same notice pops up: Notice: Undefined index: action in test\newsite\transact-user.php on line 10 I've searched high and low for …

Member Avatar for pritaeas
0
229
Member Avatar for madan.uba@gmail

0 down vote favorite hi, I had a problem with adding reference in my C application. I am unable to add linker reference to "libiconv" in my data compresser project.I have download "libiconv" library but confuse in adding reference which show error in compiling.I'm using Dev C++ for developing my …

Member Avatar for Ancient Dragon
0
607

The End.