38,020 Topics

Member Avatar for
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
162
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
270
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
324
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
147
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
140
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
148
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
101
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
Member Avatar for ebanbury

Hi I can successfully parse data from a form in one page to a table in another page, but I'm having problems displaying the data in the same page as the search form. Below I have set up a simple one field search and table in the same page. I …

Member Avatar for sudeepjd
0
171
Member Avatar for Prerequisite

Hello all, I'm trying to get through this tutorial, but running into a brick wall. I'm not very versed with PHP, so the error may be simple. I'm trying to call the data that the user inputted to the PHP form, but it's only displaying blank lines for me. I've …

Member Avatar for Prerequisite
0
132
Member Avatar for shishtawitch

i have following in my database ------------------------------------------------------------------------------------ [code=text] <table><tr><td><img src="default.jpg" width="160" style="border:1px #87925d solid;padding:2px;"></td> <td valign="top"><a href="mylinkhere" target="_blank"><strong> Vicky Bhai Part 4</strong></a><br><font size="1" color="#cccccc">http://www.mysite.com</font><br>Stage Funny Stuff</td></tr></table> [/code] ------------------------------------------------------------------------------------ if want to add a <a> anchor tag to only image before displaying it on page.................how can i do that with preg …

Member Avatar for yannyannyann
0
466
Member Avatar for puvi

hi ppl of the forum.. i am so glad i joined this forum, members here play a big role in my learning PHP, n im able to work on a PHP project so soon all thanks to the forum and its members.. n here i'm back again, with another piece …

Member Avatar for sudeepjd
0
115
Member Avatar for alafift

HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Module FastCgiModule Notification ExecuteRequestHandler Handler PHP_via_FastCGI Error Code 0x00000000 Requested URL [url]http://localhost:80/employees/default.php[/url] Physical Path C:\inetpub\wwwroot\employees\default.php Logon Method Anonymous Logon User Anonymous Do you guys have a solution to fix this error? …

Member Avatar for Agarsia
0
96
Member Avatar for puvi

thanks guys.. please clear one more doubt.. lets say, i have a table(Name) with fields first_name, mid_name and last_name. records in the table are as follows: 1. tom-robert-hanks 2. angel-diva-hanks 3. nick-kick-hanks 4. jingle-doll-bond 5. james-cool-bond 6. john-mac-bond now i want to fetch all the first_name having last_name as bond …

Member Avatar for puvi
0
73
Member Avatar for puvi

hi frens, i have a weird doubt haunting me. please clear it for me.. lets say i have a table(EMP) containing fields emp_name and emp_dept, n there are around 10 records in the table. now i want to print all the emp_name. i know we can do as follows $empname=mysql_fetch_array($result); …

Member Avatar for puvi
0
88

The End.