39,323 Topics

Member Avatar for
Member Avatar for Naveed_786

Can any body help me how can i design my first page in PHP and database sql server2008 which should have four textboxes in the center of the form like this Name Naveed FatherName Akhter DOB - NIC NO - and two buttons one for exit and one for changing …

Member Avatar for diafol
0
119
Member Avatar for phplover

Hi, I basically have two functions; the first one below [b]GenerateFormTokenHash()[/b] is placed in a hidden field on my form and echoed out in the hidden field plus it stores the token in a session called [b]token[/b]. The second function below [b]IsValidFormTokenHash()[/b] is called straight after the check is made …

Member Avatar for phplover
0
227
Member Avatar for LWS

Hi, i facing a problem with update data in database... i had create 3 files [CODE] //list_records.php <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); …

Member Avatar for LWS
0
174
Member Avatar for arv3

Can anyone help me with this? I need for select out the posts where type_lbiltank=1 from this SQL-sentence: $query = sprintf("SELECT address, name, email, type_lbiltank, type_lbilut, type_lbilborst, type_pbilselv, type_pbilauto, lat, tlf, lng, ( 3959 * acos( cos( radians('%s') ) * cos( radians( lat ) ) * cos( radians( lng ) …

Member Avatar for jkon
0
84
Member Avatar for azegurb

hi all, i have registration script that registers user according their [B]user ID[/B]. if there more than one user id it returns false and says that this [B]user ID[/B] is taken. but if i submit different user ID and the same email address it accepts. how can i do that …

Member Avatar for azegurb
0
131
Member Avatar for bangla

Hi, Below code gives me this error: "syntax error, unexpected" in line 5 <?php $to = "safiullah12@hotmail.com"; $subject = "test fname, email,phone,nn"; $Sender = $_POST["email"]; $message = Name: echo $_POST["fname"] . "\r\n". ///////////////////////line 5 Email Address: <?php echo $_POST["email"] . ?> "\r\n". Phone No: echo $_POST["phone"] . "\r\n" ; // …

Member Avatar for 84hd0ns
0
216
Member Avatar for floatingDivs

Hey guys, I need some help in deciding whether Wordpress 3.1 is OK for full-time use. I realize it's in beta, but my mother's friend wants her static website turned into dynamic content via Wordpress. I don't mind 3.0, but I've heard really good things about 3.1, such as superior …

Member Avatar for blocblue
0
82
Member Avatar for Aser Gado

Okay, I am working on a facebook for my school, and I need help creating the signup/login/profile pages... Connecting to the database and stuff.. if someone could help me here or on MSN? [email snipped] Thanks, Really looking forward to it!

Member Avatar for 84hd0ns
0
93
Member Avatar for bangla

Hi, Below code is not working. Once I run it, it works fine. i expected "Thanks" but i get nothin. is not redirecting to thankyou.html <form name="myForm" action="/send_email4.php" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="thankyou.html" /> Name: <input type="text" name="fname" /> Email: <input type="text" name="email" /> …

Member Avatar for 84hd0ns
0
141
Member Avatar for jacob.irwin

This is common code and I've searched all of the forums and cannot find the answer to fix my problem. I created 3 pages: 1.) Login [CODE]<title>Login</title> </head> <? /** * Checks whether or not the given username is in the * database, if so it checks if the given …

Member Avatar for jacob.irwin
0
163
Member Avatar for cliffcc

The data C:\username\photo.jpg. I cannot insert to database successfully. C:usernamephoto.jpg will be inserted. What is the ways to insert such data?

Member Avatar for pixelsoul
0
30
Member Avatar for kedar9

Hi all, What I am trying to do is On "Page 1", user fills a form, and when he clicks on "Submit", a new page, say "Page 2" should get automatically created (in the same folder as index.php) in such a way that name of the page is say first_name.php …

Member Avatar for kedar9
0
189
Member Avatar for zerey02

.Hi guys i have been working on a picture viewer and what i want to do is put certain informations over the pictures that is retrieved from the database. i used the following code to retrieve images from the database: [CODE]<?php $host = 'localhost'; $user = ''; $pw = ''; …

Member Avatar for zerey02
0
337
Member Avatar for Lioshenka

I have two pages, both extremely simple. One of the has some code on it which is literally an iframe with some basic CMS controls which allows the user to enter some text in it (by default it reads some pre-written text from a file and pastes it into the …

Member Avatar for Lioshenka
0
165
Member Avatar for programmer12

Hi, I keep getting this error message. Warning: Cannot modify header information - headers already sent by (output started at /home1/lgmsevze/public_html/passion4anime/test/header.php:18) in /home1/lgmsevze/public_html/passion4anime/test/login2.php on line 31 Can sumone help me or explain to me on how to fix this issue.. I will post my codes here... Header: [CODE]<?php session_start(); if(isset($_SESSION['SESS_CHANGEID']) …

Member Avatar for smantscheff
0
334
Member Avatar for JBLDW

This has been solved. - The script is being restricted by a database field limitation.

0
53
Member Avatar for Aser Gado

Hello everyone, I would like to know how to create a PHP file to create the following database: Database name: "dbUsers." [CODE]Name Type Addition id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25)[/CODE] Thanks :)

Member Avatar for luweegee
0
110
Member Avatar for IWDesigns

hi everyone...im having an issue with collecting the data using HTTP_REFERER the problem is if i paste or type a referral url into the url bar it gives an error :- Message: Undefined index: HTTP_REFERER but if i click the link from another site it works perfect... i understand that …

Member Avatar for IWDesigns
0
135
Member Avatar for rohit b k

hi guys.. pls help me out.. in my project , i am extracting the data from mysql database.. and presenting it in a table.. each time a new data is getting displayed row wise..dynamically.. how can i make that data to be get displayed column wise.. fr eg : i …

Member Avatar for showman13
0
98
Member Avatar for luweegee

Hey guys i seen this script in a tutorial but he never explain how this script function $_SESSION how can i use this script in a project or in any situation. can anyone elaborate this code

Member Avatar for luweegee
0
96
Member Avatar for brianjoe

Hi people! Im having an issue, and it is really bothering me. I want to get some content (only 2 lines) from another site and paste it into my own site. The problem is that the content on the other site keeps changing, and I need it to be auto …

Member Avatar for smantscheff
0
150
Member Avatar for ankit.pandey3

Hi Friends..... I want to implement search indexing (like joomla) in my website. Earlier I develop search from database by "select" statement. But for whole website, I don't have any idea to do it............ Plzzzzzzz Help ??????/// I'll highly oblized to you.............

Member Avatar for ankit.pandey3
0
136
Member Avatar for JerieLsky

Hi, I'm still learning on how to upload and retrieve/display images. I have already have the idea on uploading an image onto the server. Well, I still have a problem when it comes to displaying the image which has been stored from the file server. I am actually using this …

0
89
Member Avatar for benqb

[CODE]<?php $out = array(); $execute='./test.py'; $name="test"; exec("$execute $name",$out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] when I executing above code in local server its working.. But in hosted server, exec () function doesn't take the parameter variable '$name'. why?

Member Avatar for benqb
0
104
Member Avatar for drewpark88

Hey Guys, I know there has to be a way to automatically delete a row in a MySQL table on a specified date. I am just brain dead today :icon_confused: Let's just say I have CMS that I input posts and want one of the fields in the table to …

Member Avatar for drewpark88
0
177
Member Avatar for freakunleash

Hi All, Need help in uploading multiple files and renaming them. I want the file to rename to corrensponding text file while uploading. Below is the messy code on which I'm working. Regards BW HTML code [ICODE] <html> <head> <title>Multi</title> </head> <body bgcolor="#c2c2c2"> <form method=post action=upload.php enctype='multipart/form-data'><table border='1' width='400' cellspacing='0' …

Member Avatar for jkon
0
149
Member Avatar for rkayd

I am new to php but have some scenarios in which I want to use it. Since I am new I know I need to do a lot of studying but for now, before I delve into it too much just to find out something isn't possible, I would like …

Member Avatar for jkon
0
94
Member Avatar for abhi10kumar

How I can run automated php page using crontab ? I have a server space, but dont know where and how I can execute my crontab command. I want to execute a php page say [url]http://www.servicesonclick.com/sentmail.php[/url] everyday at 12:00 AM. [QUOTE]00 00 * * * wget [url]http://www.servicesonclick.com/sentmail.php[/url] -q[/QUOTE] but where. …

Member Avatar for diafol
0
104
Member Avatar for bangla

Hi, I am getting below error. "syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING " 1. welcomecaller.php [CODE]<form action="send_email_works2.php" method="post"> Name: <input type="text" name="fname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> [/CODE] 2. send_email_works2.php [CODE]<?php $to = "safiullah12@hotmail.com"; $subject = "Brought to you by BenagaliList.com"; …

Member Avatar for bangla
0
210
Member Avatar for freakunleash

Hi Guys, I need help for in storing data from PHP from array in mysql. I'm very new to PHP/Mysql and have started learing it just few weeks back. I'm trying to build a website for myself. I'm having tough time trying to insert the data from Form in mysql. …

0
58

The End.