39,323 Topics

Member Avatar for
Member Avatar for mayuri_desh

i have a login page, where i check login name and password if it matches i create a session.and redrect it to other page, now the problem is in localhost(WAMP Server)it works fine but in server when i host it it does not redirect it shows an error like this …

Member Avatar for mayuri_desh
0
102
Member Avatar for thedonedeal

[url]http://www.daniweb.com/forums/thread161547.html[/url] (I didn't want to post to a nearly three year old thread but I didn't know where else to post this...) A while ago someone introduced the idea of using imgsize.php to resize their images on the fly in the <IMG src=''> manner. Then someone noted that using this …

0
70
Member Avatar for Awah Mohamed

i have this code but it cant work in my hosting usualy the error is : The following errors were reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''comments' ( 'id' int …

Member Avatar for rch1231
0
45
Member Avatar for digiplaystudios

Hi There, For some reason the following is not working - Inside the text field it displays nothing: [CODE]<?php include 'dbc.php'; page_protect(); $rs_settings = mysql_query("select * from users where id='$_SESSION[id]'"); $row_settings = mysql_fetch_array($rs_settings); ?> <html> <head> </head> <body> <form action="index.php" method="post" name="regForm" id="regForm" > <input name="first_name" type="text" class="updateusersmall" id="first_name" value="<? …

Member Avatar for P0lT10n
0
153
Member Avatar for digiplaystudios

Hi There, I've set up a profile page where people can enter the address and then it displays all the information. However the URL doesn't seem grab the MySQL information for the certain ID. How do I do it? Example URL: [url]http://www.website.com/profile.php?id=[/url][B]1[/B] so when you go to that URL it …

Member Avatar for digiplaystudios
0
2K
Member Avatar for TySkby

So I'm having a heck of a time getting this to work- JavaScript isn't exactly my specialty and I realize that's a big part of the issue, but I'm at my wit's end... I'm developing a PHP application that deals with scheduling music lessons. In my application, I have these …

0
94
Member Avatar for ebanbury

Hi I have a multiple-query issue I'd like some advice and help with. I am trying to create a website, in which users can upload their own images to the site. I am a beginning in PHP (and only solid in html and some sql querying) What I think I …

Member Avatar for nonshatter
0
146
Member Avatar for andydeans

hi i need some help with a project i am working on. i basically have a back end site php/mysql with clients addresses etc, i need to be able to send that data to another site where they have login and passord for and it pre populate the forms in …

Member Avatar for hielo
0
115
Member Avatar for mpc123

Im looking email members from a database where the emails are stored but also in a seperate table would be the information I want to send to them . I have this code of which i could use manually but 1. how do i get the multiple recipients to go …

Member Avatar for nonshatter
0
85
Member Avatar for braveheart_sb

Hello, I have the code below and I'm having a problem checking the returned values from the query i send,i really would like to know how to check each and every row the query return if it contains null values.And if it does contain the null values to update another …

Member Avatar for hielo
0
125
Member Avatar for danny4444

Hi there, I am using CKEditor, a rich text editor. I am using PHP validation. I am trying to display the text area value provided by the user input into the new text area once submitted. The problem is I am getting an output with "\r\n" rather than it actually …

Member Avatar for hielo
0
55
Member Avatar for mathewmoozh

I am using PHP and iam not understanding the concept of inheritance,I need to access the method in the base class from the inherited class,I created a base class object and called the method using the object,The method was declared in protected mode but now i am not even able …

Member Avatar for mschroeder
0
93
Member Avatar for mpc123

I have this very easy form to store info in a database table but i would like to be emailed once somebody has entered the details, how would i do this please? Form [code=php]<form action="insert.php" method="post"> <div align="center">Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Email: <input type="text" …

Member Avatar for mpc123
0
90
Member Avatar for mahavir123

I am reading XML and PHP. I have to import a xml file in mysql database using PHP script. I tried using 'simplexml_load_string()' and 'simplexml_load_file()' functions. It worked. But how the xml parser is used to import XML files into Mysql Database. Please tell me about this, I tried the …

0
135
Member Avatar for danny4444

Hi there, I'm having a bit of a problem passing a variable from a form to a php script and could use some help. I hope this makes sense: The problem occurs when the script doesn't recognise the name of the text-area (which is a unique name that changes each …

Member Avatar for danny4444
0
87
Member Avatar for racertim

This is for a tool I have that receives a lot commercial emails and it would only apply to that. It is not for emails that I receive from individuals with yahoo.com, gmail.com, or business accounts. I'm familiar with retrieving and parsing email headers using imap_headerinfo. I found that imap_header …

Member Avatar for racertim
0
280
Member Avatar for fumnimda

i am programming a web site for a store and the manager of shop want to display onlinw show via their camera on the store. how can i do it in a php site? what are the requirements for doing this job? should i have a dedicated server for that …

Member Avatar for rokape
0
249
Member Avatar for aadebayo

Hello I have searched and tried to implement this without any success. I have written a code to update several records using a checkbox. This works perfectly. However, I wanmt to add the pagination functionality to it, but this is proving a nightmare. Please can some one help me? Below …

0
79
Member Avatar for lse123

PHP: If go to upload an image exist already and sometimes want replacement what code? if this is the default, please tell me for: if[B] not [/B]want replacement what code?

Member Avatar for phpuser
0
90
Member Avatar for phpDave

Hi, My mysql_error is No Database Selected. errno 1046 I am connected to the database and it has worked fine before so I was wondering what I am doing wrong. The code is from a tutorial I am using. [CODE]<?php require_once('Connections/connAdmin.php'); ?> <?php //file properties $file = $_FILES['content']['tmp_name']; if (!isset($file)) …

Member Avatar for phpDave
0
103
Member Avatar for nyler01

How to automatically setfocus on text input in a and go back to same page after data has been entered.. Just like after you enter a data in input box, the form will refresh and the focus will go in the textbox again.. thanks in advance..

Member Avatar for nyler01
0
87
Member Avatar for Marian0

Hello. I am trying to get the correct code in order to get specific content shown according to the current site the visitor is on. I have done two tests: [CODE=php] <!--START TEST 1--> <?php class address { function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= …

Member Avatar for P0lT10n
0
150
Member Avatar for mr-cracker

hi all, anyone knows whats wrong with this ipn lister? its exact same paypal ipn with only few changes in sql query, i get 500 internal server error however when i use the original paypal ipn script i don't get any error, any help please [QUOTE] <?php include ('config.php'); ///////////////////////////////////////////////// …

Member Avatar for P0lT10n
0
135
Member Avatar for KPheasey

I am having a weird problem setting a session variable. I use a session array ($_SESSION['message']) to display messages. $_SESSION['message']['type'] = error/success; $_SESSION['message']['message'] = $message; Here is the function for displaying the message: [code=php] function displayMessage(){ if(isset($_SESSION['message'])){ echo" <div class=\"notification " . $_SESSION['message']['type'] . " png_bg\"> <div> " . $_SESSION['message']['message'] …

Member Avatar for KPheasey
0
279
Member Avatar for lwaterfo

Is there an easy way to display records in a database? I have the query set up but I don't know how to output the result to the user.. Here is my php: [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("location:contractorlogin.php"); exit(); } $user = $_SESSION['memberusername']; $sql = "SELECT Username FROM contractors WHERE …

Member Avatar for lwaterfo
0
80
Member Avatar for Clarkeez

Hi. Im making a web based automatic email generator using php and a form. I've got all it working, apart from the email addresses. Its for works intranet and they use outlook 2003 on exchange. basically.. I have this [code] echo "<meta http-equiv=\"refresh\" target=\"_NEW\" content=\"0;URL=mailto:smith, james;beckham, david; minouge, danni; cole, …

Member Avatar for hielo
0
128
Member Avatar for fortiz147

here's the process: 1. i display the mysql data in rows with checkboxes on each row 2. i want to add the checked values into another table under the specific field employee here's the problem: i can't seem to insert the checked value to the specified project table. what if …

Member Avatar for Ezzaral
0
187
Member Avatar for Smudly

Hi, I'm having two issues with my Search engine for my website. It is created to search through my database (it doesn't crawl through pages). The first problem I'm having is when I type in for example: Super Mario Bros and there is a row in my table with a …

Member Avatar for hielo
0
148
Member Avatar for andrewliu

Hello. I have a search engine, and I was wondering how to have certain checkbox forms appear depending on what the person searches for. And would it be easy to make the checkbox filter out the search results I have? I tried looking for it online but I can't find …

Member Avatar for andrewliu
0
52
Member Avatar for cwarn23

Does anybody know how I would use sockets to tap into the SMS protocol for sending+receiving SMS messages. Basically, all I want to be able to do is setup a php script that will be able to act as the SMS server and send+receive the SMS's directly through the SMS …

Member Avatar for chrishea
1
319

The End.