39,402 Topics

Member Avatar for
Member Avatar for seemajanardhan

Hi! I hope someone can help me out on this one. I have been trying to get it work since last night. I am making an application where I can add a quiz. The quiz has questions. Each question has a certain number of choices and out of those choices …

Member Avatar for ravi_be
0
297
Member Avatar for Stick

Hello All, I have a form that I created for user login. It has three fields. username Password Date I want the date field to default to the current date when users login. Can anyone help me with setting a default value for the date field? Thanks in Advance! Stick

Member Avatar for Stick
0
174
Member Avatar for sm00nie

Hi all, Is there a way I can delete or expire a cookie that's been left in the users browser cache with php ? The reason I ask is, I'm setting up a paypal store, and if users already have a paypal cookie in their cache when they checkout from …

Member Avatar for sm00nie
0
92
Member Avatar for sm00nie

Hi all, Would anyone know how to search an external html file for a work or phrase ? I was thinking something like - [code]<?php $fp = fopen('http://www.google.ca', 'r'); if (preg_match('/Google.ca/', print fgets($fp))) { echo "match"; } else { echo "no match"; } ?>[/code] Unfortunently, that doesn't work, but you …

Member Avatar for sm00nie
0
238
Member Avatar for thei2k

hey i just did this script for my phpbb forum. its a cash mod (for anyone familiar with) this is what came up Parse error: parse error, unexpected T_STRING in /home/thei2k9/public_html/includes/functions_post.php on line 359 here is line 359 $message = $lang['Stored']. '<br />' . $cash_message sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" …

Member Avatar for Troy
0
150
Member Avatar for Yuki H.

I have a bit of a problem with my newsletter here is the error I get: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/subscribe.php on line 64 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/happy/public_html/newsletter/sindex.php on line 244 Warning: extract(): …

Member Avatar for Yuki H.
0
176
Member Avatar for hanpedro

I have a problem on mysql_query on using 2 dbs on 1 mysql server. Please help, and code is;; <? $db1[host] = "localhost"; $db1[user] = "abc"; $db1[pass] = "1234"; $db1[db] = "db1"; $db1[dir] = "a/ab"; $db2[host] = "localhost"; $db2[user] = "abc"; $db2[pass] = "1234"; $db2[db] = "db2"; $db2[dir] = "a/cd"; …

Member Avatar for Troy
0
109
Member Avatar for demetri007

I installed Apache2, PHP5, openssl, Mysql4.1 all from src(except MySql=>RPM). The problem I am having is with PHP ( well I think anyway ). When I start Apache it loads php without error, but when I point Firefox to localhost/test.php which contains CODE: <?php phpinfo(); ?> ,its displayed rather than …

Member Avatar for demetri007
0
255
Member Avatar for ae1

I have a Moveable Type hosting account that seems to come with all sorts of bells and whistles that are not related or even compatible with Moveable Type. I am extremely ignorant about what I'm doing here and I got the MT account because I already had an MT blog, …

0
136
Member Avatar for thandermax

Dear all members, I have a problem . As i use dial up network as a mean to get to the internet it is some times costly to upload my code to internet and then test . As i am learning PHP recently , if any body suggest any way …

Member Avatar for darklordsatan
0
180
Member Avatar for ep2002

Hi there, Ok, I need help from other programmers on creating a hiring ad looking for a programmer who knows MySQL/PHP very very well. I know there are supposed to be 3 different areas I need the programmer to have & some don't have them. 1. The DB Design 2. …

0
102
Member Avatar for markwithak

Hi there, I am taking over someone elses code and do not work in php. None of this guys pages actually work! The one I am starting on is at [url]http://www.vri.ca/gallery/surroundphoto/restaurant[/url] When you click on any of his links you get the same picture so I am assuming that the …

Member Avatar for Troy
0
173
Member Avatar for fsn812

I just read an interesting oracle article comparing PHP4, PHP5, and ASP. I would suggest anyone questioning the PHP/ASP debate to read the article: [url="http://www.oracle.com/technology/pub/articles/hull_asp.html"]http://www.oracle.com/technology/pub/articles/hull_asp.html[/url]

Member Avatar for vimkar
0
182
Member Avatar for michael123

I have a login script, I want to modify it to restrict the sharing username access, by IP address, what will be a good method to do this? thanks.

Member Avatar for Troy
0
102
Member Avatar for oracle4me

Hello please help Total php beginner please help i am going crazy my home-page opens finishes loading but with error's on page and my hitcounter does not display on my site but it's still logging my site I looked through my site files and found this error below. Is this …

Member Avatar for Troy
0
240
Member Avatar for dantrujillo

I am getting the following error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/champion/public_html/search.php on line 34 when doing a search for text in a description or product name. The error only happens when I do a search for multiple words. Here is the code: …

Member Avatar for dantrujillo
0
132
Member Avatar for JoesToe

Hello, I am trying to set up the phpbb forums on my site using MySql and I don't understand how to link MY site to the DATABASE. I also can't seem to figure out where my username, password, and the name of my database as I need them for the …

Member Avatar for chizy2
0
269
Member Avatar for ep2002

Hi there all, I'm about to develop a site with a DB backend & I want to know how one goes about doing organic SEO if most of the site is DB driven. There will be some text on the page, but certain things that are pulled from the DB, …

Member Avatar for Stewart
0
42
Member Avatar for TraderX

Hello all, first off, I am no PHP coder. I would like to display RSS feeds from other sites, to my index.php on my site. I found this script at [url]http://www.feedforall.com/free-php-script.htm[/url]. It's a php script for this just that, but it displayes in the php file (rss2html.php) OR a .shtml …

Member Avatar for Troy
0
140
Member Avatar for zippee

Can anyone suggest any free/pay script or software of online HTML editor? I want my users to be able to create html page on my website and save to database or text file. TQ.

Member Avatar for Troy
0
199
Member Avatar for zalakes

I am a post graduate [B]I was approached by a company to design for them an Intranet using PHP[/B] i just want to know is this a complex issue or is it easy, bcoz in college( those unknown colleges) we didnt do that much [B]PHP[/B] IF U MAY PLease give …

Member Avatar for big_k105
0
126
Member Avatar for symoore22

hello i have decided to split my products into categories. each product has a category from 1-5. how do i make this page display products relevant to the category I have made links to each category on this page on the left. I dont know if this is the way …

Member Avatar for zippee
0
719
Member Avatar for akkoub

please help me when i run my code by using Mysql_num_rows() Warning: Supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\php\connect to database.php on line 13 this is my code <?php /* declar some relevant variables */ $Host = "localhost"; //location of mySQL on server $Table = "books"; …

Member Avatar for Zachery
0
484
Member Avatar for Smittymator

My web hosting control panel had this free script section that listed PHPBB2, when I installed it, I got a thing called PHPwebsite copyrighted by Appalachian State Univ. It's a GNU licensed product, so is it the same thing? maybe just a modded version? It seems the same... I just …

Member Avatar for Smittymator
0
96
Member Avatar for N3UR0P0LL

I made a little code to update record in database like this: [PHP] require_once('includes/config.php'); if ((isset($_POST["DO_update"])) && ($_POST["DO_update"] == "edit_product")) { $ProductID = $_POST["txtProductID"]; $CategoryID = $_POST["txtCategoryID"]; $ProductName = $_POST["txtProductName"]; $ProductPrice = $_POST["txtProductPrice"]; $IsRebate = $_POST["selIsRebate"]; $RebatePrice = $_POST["txtRebatePrice"]; $ImageFileName = $_POST["txtImageFileName"]; $BigImageFileName = $_POST["txtBigImageFileName"]; $ProductDetails = $_POST["txtProductDetails"]; $query_update = …

Member Avatar for N3UR0P0LL
0
138
Member Avatar for GR Web FX

Hey people, for the past few months i have been looking into C++, java and php. My web design is mainly about flash, photoshop and dreamweaver so im trying to brush up on my programming skills. Basically i have a client who wants me to design them a website which …

Member Avatar for Royalty Hosting
0
248
Member Avatar for symoore22

hi If you click on the following page [url]http://www.bluetipdvd.co.uk/indexd.php[/url] and the click on the two product links a new window opens which displays some more info. I am trying to make it so the window that opens displays info relevant to the the link that was click e.g clicking on …

Member Avatar for Troy
0
250
Member Avatar for michael123

How to run web PHPscript in specified user, not in apache(default). In linux you create user test, and he has rights like root. Now you want to run [url]www.yoursite.com/test.php[/url], and script test.php is a execute script. But by default scripts are treated like user apache,but apache hasent got enough rights …

Member Avatar for Troy
0
193
Member Avatar for chrziz

I've been getting errors by putting tabs in my script to make it a little easier to read and more organized. As soon as I take the tabs out, the errors go away but the script is very ugly. I even tried using 4 spaces in place of the tabs …

Member Avatar for chrziz
0
163
Member Avatar for g0rb4ch3v

Ok here is what I want to do: I am going to have a "6 upcoming events" (baseball games) section on my website but I want to be able to enter all of the games on one day and have it show the 6 upcoming games on the website. The …

Member Avatar for Troy
0
94
Member Avatar for skippy1981

Hi guys, Sorry to make my first post so elaborate, I hope to provide help to others soon... :lol: I'm looking at co-locating a web server, the purpose of which will be to host as many small scale websites as possible. Unfortunetely, I have very little knowledge of webserver hardware …

Member Avatar for g0rb4ch3v
0
150
Member Avatar for JazzMatazz

Hi, im trying to install a php board using invision 3.0.7. Its working nicely, but the user.php is causing probelms. When in the Admin Controlpannel, I cannot "add new users" or "search for users". Also, when the option to "Moderate New Members" is on i get an email, that someone …

0
69
Member Avatar for bling

I WANT THE FOLLOWING FORM'S RESULTS TO COME TO MY EMAIL ADDRESS! I HAVE NO IDEA HOW TO MAKE THE FORM FUNCTION. Could someone please guide me through ? [COLOR=DarkRed]<table width="681" border="1"> <tr> <td width="164"><span class="style11">Ebay Item Number : </span></td> <td width="420"><div align="left"> <input name="item" type="text" id="item" size="60"> </div></td> </tr> …

Member Avatar for Troy
0
237
Member Avatar for michaelK5

Hello Dani PHP Members. My name is Michael, I have been looking online for a place to learn php and at this point I have given up. I am wondering if there is anyone on here that can teach me php and mysql. Or if you know of any places …

Member Avatar for michaelK5
0
542
Member Avatar for michael123

Hi, I have a file with the dbase connection details which I call into my script using: include("config.php"); Problem is that when I need to include a page redirection, namely: header("Location: other_page.php"); I get an error saying that headers were already sent from the line with the include("config.php"); How do …

Member Avatar for michael123
0
100
Member Avatar for kaoru

Hi all, I have recently created a website (hosted through godaddy.com) for an online gaming guild and after using phpBB (v. 2.0.15) to make the forums, I stumbled upon php-nuke (v. 7.6 is what I would be using). Now the forums have already been running for a few weeks, and …

Member Avatar for Troy
0
429
Member Avatar for fred999

Hello php gurus! i need help with a little script, i have to import a tab delimited files into a mysql db file.tab [CODE] "user1"TAB"pass1"TAB"miscdata1_1"TAB"miscdata1_2"TAB"miscdata1_3"TAB"miscdata1_4"TAB "user2"TAB"pass2"TAB"miscdata2_1"TAB"miscdata2_2"TAB"miscdata2_3"TAB"miscdata2_4"TAB [/CODE] Here is what i have programmed with the help of google [CODE] <? include('config.php'); $conn = mysql_connect($dbserver, $dbuser, $dbpass); if (!$conn) { echo …

Member Avatar for Troy
0
1K
Member Avatar for BryanM67

I have a full name passed to my webpage in the format 'lastname, firstname'. So if $a = 'Doe, John' what could I do to parse this field out using the comma as a delimiter, and end up with $b containing 'John' and $c containing 'Doe'. I would appreciate any …

Member Avatar for Troy
0
78
Member Avatar for jonathan2005

Hi, I have a problem with resolving the HTTP request message. I am trying to pass the xml structure as a message body in the HTTP request. After that I want to read it in my PHP script file on server side. I can read all the headers, but I'm …

Member Avatar for Troy
0
84
Member Avatar for mrChiBai

[FONT=Courier New]dear all, I have made a look-up talbe in php that reads from a sql table. one table, pair has pair_id as the primary key one table, pairHistory has actions when information for a pair_id changes and the look-up table logs the transactions, the many to one relationship pair …

Member Avatar for Troy
0
324
Member Avatar for michael123

how would one go about making a login script using sessions that save to the database?

Member Avatar for michael123
0
125
Member Avatar for zalakes

hi all I already have a website running (not php). The problem is that i want people to sign up so i know how many people are actually regulars on my site. The thing is know how to i insert a database to my webpage, my i create a new …

Member Avatar for vipula
0
121
Member Avatar for pamwynne

Can someone please help me. I just want to put a simple form on my web site. I am using dreamweaver and first of all, I am [B]NOT[/B] a techy. I basically taught myself Dreamweaver and created my own e-commerce site. I would like to have a form for people …

Member Avatar for darnoldy
0
430
Member Avatar for iversr

I am completely new to phpMyAdmin and relatively new to MySQL, so this may be a dumb question. Please forgive me if it is. I have MySQL running successfully, no problems that I am aware of. I have IIS running on the same server with PHP installed and am successfully …

Member Avatar for iversr
0
90
Member Avatar for curtis_henken

Here's the situation. I created a program of sorts that allows the writer of our clubs newsletter to upload the newsletter each month to the "newsletter" folder. Then i have a php script that shows the content of the folder in an iframe on the home page so that users …

Member Avatar for curtis_henken
0
164
Member Avatar for classifieds100

Hi, Can someone please help? I want to be able when I receive an email from my site's form in the same time to add the visitor in my autoresponder software. I think I must have one more form (script) to get the data from my php form and send …

Member Avatar for classifieds100
0
271
Member Avatar for vismund

I am absolutely 100% new to php programming, so go easy on me. I have looked at php tutorials on how to create a simple form on a html page and then using a php script, have the contents of the form emailed to me, then it redirect to a …

Member Avatar for zippee
0
155
Member Avatar for dasd

Hi All! I came here looking for some good direction and advice. I am a Corporate Trainer/ Systems Engineer who has now been put into the role of webmaster. I really don't care for HTML and some of it's drawbacks, hence my interest in PHP. I don't know squat about …

Member Avatar for zippee
0
181
Member Avatar for Wiz-kid

Hi I'm a webmaster, and I want to use php code on my site to create an admin system for my site, I understand that php is very linux oriented, but I also hear that it can be used on a windows platform, cos i'm running on windows, so can …

Member Avatar for zippee
0
170
Member Avatar for aiden

Hey all, I'm getting ready to (possibly) pitch a project here in town for a local bookseller. She wants to develop an inventorying system for her site backend that lets her add inventory records based on an ISBN number only. Obviously I'm going to need some sort of hefty database …

Member Avatar for aiden
0
158

The End.