39,316 Topics

Member Avatar for
Member Avatar for sptham30

Hi guys, i've started to write some website and bumped into this problem.. have tried all the solutions on the forum that i could search for.. E.g clear any blanks on the main_left.php (code shown below) no echo on main_left.php and also ob_start(); none of it works... Warning: Cannot modify …

Member Avatar for diafol
0
197
Member Avatar for theonlylos

I'm currently working on launching a venture website at strongislandgamers.li/index.php and I"m working on making a very detailed registration form which needs to mesh well with the K2 login addon, and also I'm using CiviCRM in the backend to handle membership logistics. Additionally - the biggest stumbling block to this …

0
80
Member Avatar for IanArcher

How can I make it so when I e-mail for e.g. [email]news@example.com[/email] text/information of the e-mail is written into a mysql table? It would extract the contents of a new email and write them into MySQL table. This table manages news articles on the website, so in the MySQL columns: …

Member Avatar for fobos
0
880
Member Avatar for BilalAKhan

Hi, Can anyone please tell me whats wrong with this piece of code? I am trying to insert email (user name)in the database. This thing is now getting on my nerves. [CODE] if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) { $insertSQL = sprintf("INSERT INTO blog (title, specialization, message) VALUES (%s, %s, …

Member Avatar for fobos
0
197
Member Avatar for rotten69

G'day everyone, I'm just wondering about what's actually the best option out of these PHP sessions(server-side) and JavaScript sessions(client-side)? If the server-side session is not stored on client's machine, where else would it be stored? Are there any pros and cons of each option? Thanks folks.

Member Avatar for phorce
0
160
Member Avatar for missumissu

[CODE]<?php $target = "upload/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else { echo "Sorry, there was a problem uploading your file."; } ?> [/CODE] that's mean must create 'files' table? and 'target' is entity …

Member Avatar for qazplm114477
0
129
Member Avatar for reygcalantaol

Hello everyone. I do not know where to post this but I think is it php related topic. Currently I am working on WordPress plugin. The problem I have is that I have a url "http://www.widgetel.com/sales/affiliatecode where affiliatecode is unique for every affiliate member. What I want to acomplish is …

0
100
Member Avatar for manc1976

Hi I understand the basics of concatenate, but then I saw this example and I am now confused! [CODE] $Update = "Update people set " . "permission_id = '" . $permission_id . "', " . "username = '" . $username . "', " . "forename = '" . $forename . …

Member Avatar for diafol
0
87
Member Avatar for nam.aggarwal

Hi, I am building an application for my company and need to integrate outlook and Exchange server with the web application... It should be able to access outlook calender and make entries. Also should be able to send mails via outlook. Need a start Help

Member Avatar for cereal
0
86
Member Avatar for Jay-Kandari

Greetings Forum Members, Let me Introduce myself. Hello I am Jay Kandari From India. I am a Student. I am basically interested in Web Development. Now I have started with PHP. Currently, I am building websites using scratch. Now it's time to jump to Advanced Development. so I started off …

Member Avatar for phorce
1
247
Member Avatar for jacob21

I have to show records with checkbox in front of every row with pagination. If I check ALL checkbox then all checkboxes will select and if I go to next page then automatically all checkbox will be selected. As well as I can do process on selected records. How I …

Member Avatar for pritaeas
0
22
Member Avatar for Stickie

I have this query, but the ordering by is not working. It should order by value, but doesn't react. you'll see what I mean in the code. [ICODE]<table class="pme-main"> <tr> <th class="pme-header">Bestemming</th> <th class="pme-header">Naam Klant</th> <th class="pme-header">Aantal Manden</th> <th class="pme-header">Aantal Duiven</th> <th class="pme-header">Naam Bestemmeling</th> </tr> <?php $con = mysql_connect("****","****","****"); if …

Member Avatar for Stickie
0
405
Member Avatar for ayub05

Again guys here is same problem. Please check this code. Everything is OK. But sql data does not show up. <?php /*Set to error level to development modes*/ ini_set("display_errors", 1); error_reporting(E_ALL); if ( isset($_POST['username'])) { $ret = add_to_database(); if (!$ret) { print "Error: Database error"; } else { print "Welcome …

Member Avatar for phorce
0
333
Member Avatar for phorce

Hello I need some advice (I'm not expecting code - Just want to know if it's possible / references) Basically, I want to create a class that I can check if the email has been submitted AND also, if it's formatted right (e.g. does it contain a @ but also …

Member Avatar for pritaeas
0
84
Member Avatar for Behseini

Hi Everyone, I am trying to test a simple email validation form using $_SERVER['PHP_SELF'] at the same page as [CODE] <?php if (isset($_POST['submitted'])) { $email = $_POST['email']; $result = filter_var($email, FILTER_VALIDATE_EMAIL) ; if($result) { echo "Valid email address."; } else { echo "Invalid email address."; } } ?> <html> <body> …

Member Avatar for diafol
0
844
Member Avatar for harintfs

whats usage for Output::GetVar in php, how it ll be usefull, Pls explain, thanks

Member Avatar for pritaeas
0
96
Member Avatar for navachaitanya
Member Avatar for melbahtoast

Hello, I've been poking around for a while now and I can't seem to find a way to do this. I'm fairly new to php, and I'm looking for a little help. What I am looking for is very similar to [URL="http://www.daniweb.com/web-development/php/threads/316912"]http://www.daniweb.com/web-development/php/threads/316912[/URL]. 1. User hits "unsubscribe" link in an e-mail …

Member Avatar for simplypixie
0
70
Member Avatar for sugumarclick

Hi all, I came across a new issue in curl request with php. I need to fetch a document from other host [url]http://xyz.com/content.html[/url]. I cannot view that page without login credentials. So I have given [url]http://user:pwd@xyz.com/content.html?get1=x&get2=y[/url]. I can send a successfull curl request to that page in a command line …

Member Avatar for sugumarclick
0
5K
Member Avatar for Mayank23

I want to make a rating system that uses ajax for the rating. i use php and call all of the images, then i want to use ajax to post all the votes to a php script. However, i dont know how to get the elements. I want to be …

0
105
Member Avatar for PF2G

Hi, DaniWeb I'm doing a website for a music school and i have a table with all the instruments: [img]http://img195.imageshack.us/img195/427/50490685.jpg[/img] And i want to click in one image and it goes to other page where's the instrument program. I mean, each image has 1 page with its own program.

Member Avatar for diafol
0
112
Member Avatar for sacarias40

Hey guys, im working on a website and i need to design the database so that a user can follow another user and it will be easy to figure out the number of people i follow and the number of followers i have. I'm using mongoDb btw. [URL="http://www.mongodb.org/"]http://www.mongodb.org/[/URL] can someone …

Member Avatar for diafol
0
1K
Member Avatar for Stickie

Hi, My name is stefan and I've been trying to develop a php/mysql based CRM for private use. I've stumbled upon a problem a few days ago and I just can't figure it out, so if you could help me, I'd really appreciate it. The problem is the following: I …

Member Avatar for PsychicTide
0
183
Member Avatar for cambraydesign

I need to create a form where you have two possible finishing pages dependent on the answers you give in the form. For instance if you have the question: Do you like sweets? And have the two possible outcomes Yes or No The answer yes takes you to a yesilikesweets.php …

Member Avatar for cambraydesign
0
193
Member Avatar for Virangya

hi, i want to load data after loading related php page. i used ajax and even jquery. jquery was not sure this is jquery code [CODE]$.post('<?php bloginfo('template_url'); ?>/bk_page/schedule_check.php', "", function(data) { $("#fieldsetConfirm").html(data);}) [/CODE] but this and when i was using ajax it changes data, but unfortunately, the pay now button …

Member Avatar for Virangya
0
213
Member Avatar for PF2G

Hi, WebForums I'm doing a login system, and it's working, but i'm having difficults in understand where does the "logout" go, other thing is that i want to improve the validation system - if someone could give me some tips. Here are the codes i'm using login form, "index.php": [CODE] …

Member Avatar for phorce
0
321
Member Avatar for chandbasha

Hi, I have one csv file with same order id for 4 or 5 times. How to know that order id is 4 or five times. My problem is on the basis of order id i will get the Product name and i want to generate the invoice. If the …

Member Avatar for HITMANOF44th
0
181
Member Avatar for mastermind2

I am working for a sms portal where user will submit an sms template for admin will approve that template. user will submit like [CODE]my name is # i leave in #[/CODE] Admin will approve this sms template when user will sent this sms he can replace one word with …

Member Avatar for HITMANOF44th
0
100
Member Avatar for glut

Hey, I'm currently using mysql_real_escape_string() to protect against SQL injection. Is there a way to exploit this? I have already tried \ to try to make the query \', thus making it just a regular backslash. I have heard of the Big5 exploit, but I don't know how to use …

Member Avatar for diafol
0
171
Member Avatar for asghar123

hi, I am getting this error: Parse error: syntax error, [B]unexpected T_STRING in C:\xampp\htdocs\makedatabase.php[/B] on line 2 here is the code: <?php CREATE USER("jeffrey"@"localhost", IDENTIFIED BY "mypass"); $con = mysql_connect("localhost" ,"jeffrey","mypass"); if (!$con) { die('Could not connect: ' . mysql_error()); } if (mysql_query("CREATE DATABASE my_db",$con)) { echo "Database created"; } …

Member Avatar for pritaeas
0
121

The End.