39,402 Topics

Member Avatar for
Member Avatar for Zexsz

I'm working on a basic CMS for a club at my school. But I'm having trouble with the log in. The log in works but after entering the user name and password and submitting it, the form comes back up and you have to do it a second time before …

Member Avatar for Zexsz
0
142
Member Avatar for valipour

Hi i want to simulate a browser with php but i need to send some more headers to target server for sample my display resolution or name of my browser (for sample Firefox) but if i call my target page_url without this parameters i can't run the page

0
65
Member Avatar for Kamboodle

Hi guys, Would it be possible to remove the phone company and website from this contact form? The code is at: [url]http://pastebin.com/YnNG7RrL[/url] Any help would be great

Member Avatar for Stefano Mtangoo
0
123
Member Avatar for rajeesh_rsn

Hi friends, What is the correct method of uploading files using php ? Now I am using a simple file upload script and that will upload that file to a directory in my ftp server. And I will make that directory's CHMOD to 777. Is this is the correct way …

Member Avatar for Stefano Mtangoo
0
82
Member Avatar for accountholder

hi, please help me nice guys ;) mysql column: `userid` contains: donny `friends_userid` contains: cherry linda jackson michael mika // each word means one different person then... how to: ----------------- add more friends delete a friend edit a friend ------------------ in the `friends_userid` using php without breaking another "friends"?? thanx …

Member Avatar for Stefano Mtangoo
0
189
Member Avatar for ivan3510

Hi all! Sorry for my bad english (if it is bad). How is on site jango.com made that, when song plays and when we click on a button e.g.Home, or Music..., site changed, but the song still plays, it doesn't stop playing? (Which program they used to make that!) Thanks!

Member Avatar for ivan3510
0
118
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
105
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
73
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
48
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
155
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
97
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
149
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
118
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
87
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
128
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
58
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
95
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
92
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
139
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
95
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
290
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
271
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
82
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
93
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
108
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
90
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
152
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
137
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
288
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
81
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
131
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
190
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
150
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
54
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
325
Member Avatar for sarithak

hi frnds, i am doing one tv channel website.I want to add tv(live) to the webpage. please give me some suggestions. if possible give some code. eg : SNIP Thanks Saritha K.

Member Avatar for chrishea
0
237
Member Avatar for Clarkeez

Hello world. Im having problems with my companys intranet and can't work it out. Basically, I've got a html form text field, which I want to be able to search. I don't want to make a search engine, its already there, I just need the query typed in the field, …

Member Avatar for hielo
0
117
Member Avatar for masterjiraya

when I try to access my phpMyAdmin. It occurs this error message. [QUOTE]MySQL said: #1045 - Access denied for user 'root'@'localhost' (using password: NO) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and …

Member Avatar for teedoff
1
189
Member Avatar for samerz816

Getting error: Parse error: syntax error, unexpected T_VARIABLE in /www/zymichost.com/m/u/s/musicalmadness/htdocs/guestbook.php on line 1 Here is my code: [code=php]<?php $guestbook = 'guestbook.dat'; $adminPassword = 'glitter'; error_reporting (E_ALL ^ (E_NOTICE | E_WARNING)); $admin = 0; ?> <?php $password = ""; if ($_POST['password'] == $adminPassword) { $admin = 1; $password = $adminPassword; } …

Member Avatar for phpuser
0
373
Member Avatar for phpuser

I made one php project in which we provide facility to create his/her own web site. Now I wants to add new feature giving different subdomains to the members' web pages. Because the number of members is about 120,000, manual configuring is not the solution. Let me give you an …

Member Avatar for phpuser
0
134
Member Avatar for phpuser

Hi All, My client want statistics report for page visits and he gave me google analytics reference for same. In which they gave facility to get report between two dates and report wil be day, week and month wise. I having with two dates but havent any idea how i …

Member Avatar for phpuser
0
134
Member Avatar for sallycheng

I cannot insert the student id to table. Would you mind give me some recommentation,please! [ICODE] <body> <form id="form1" name="form1" method="post" action=""> <?php /* This page receives and handles the data generated by "form.html". */ // $_POST["FirstName"] is an array!! $total = count($_POST["checkbox"]); // print "Number of FirstName(s) submitted: " …

Member Avatar for phpuser
0
136
Member Avatar for terrymold

Hi I'm writing a website which will eventually create a new NewsLetter every week, which is saved in a MySQL Table. The user wants to view previous newsletters with the aim of selecting one to send out again. As each record contains 83 fields, this would be so cumbersome as …

Member Avatar for teedoff
0
109
Member Avatar for Venom Rush

Hi all I have a forgotten password routine that returns "Email address invalid" if the email address entered is not in the database. This seems to be the general trend to notify someone that the email address doesn't exist. I'd just like to know if it's possible for a hacker …

0
65
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make simple chat with php and ajax without creating mysql database? Can you write code? Thanks everyone!

Member Avatar for ivan3510
0
128
Member Avatar for malashukla

i am new in php so may be my problem could be so easy for u but i m not solve. anyone out there please help me. actually i am creating checkboxes inside the while loop with different id. and a user can check more than one checkbox and when …

Member Avatar for pssubash
0
98
Member Avatar for ......?

Hello everyone! To get incoming message in fb-chat, browsers send request in certain interval (i think 55.31s). But if there is message it fetches message and terminates before starting new. Can anyone explain how it is done Regards

0
75
Member Avatar for dandixon

I have a db with all the staff details on. I have my webpage that displays all this data but i want to be able to have buttons like "all", "directors" etc that when clicked on will only show that dept Whats the best way to do this Regards Dan

Member Avatar for nonshatter
0
83
Member Avatar for silvertwister10

Hi Guys I need a script which will allow me to redirect the user to an external webpage - I have a t&c's page on the site so the user needs to 'accept' t&c's before they are redirected to the thirdparty website. I used javascript however it seems to not …

Member Avatar for silvertwister10
0
217

The End.