38,019 Topics

Member Avatar for
Member Avatar for RoadRunner

Hi everyone, Right now I have a shout box on my message board from shoutboxes. I want to make my own though that I can integrate into the board and have it only for member so it will stop being abused. Does anyone know how to do this? Or how …

Member Avatar for RoadRunner
0
257
Member Avatar for SpittingSctsman

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in _____________________________________________________ I have seen a lot of this around the internet lately, both in forums and on some production websites (WHOOPS!) :cheesy: I am currently developing a small site which uses MySQL as it's data repository, and I …

Member Avatar for SpittingSctsman
0
137
Member Avatar for Cr4nberry

Hello everyone, I have a little problem using WMServer tools, I get this error when I go to localhost in my browser: [B] Warning: mysql_get_server_info(): Can't connect to MySQL server on 'localhost' (10061) in C:\WM\www\index.php on line 118 Warning: mysql_get_server_info(): A link to the server could not be established in …

Member Avatar for Troy
0
156
Member Avatar for sytodave88

i am looking for a php script that give a user a certin amount of money when they sign up (dummy money) its for an rpg game online similer to [url]www.themafianetwork.net[/url] and a script that bans users and mod kills them if someone could help it would be very helpfull

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

I have this header information error while I was playing with a script. Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/layouts/connection.php:8) in /home/user/public_html/layouts/addcomments.php on line 23 I wanted the page to redirect itself after submitting the comment, but I messed up. I also want …

Member Avatar for Troy
0
108
Member Avatar for om1d_h

We have a web based accounting software, and severly need to connect to scanners and operate them via our programs. What can be used? PHP, Javascript,... to do that? ??????

Member Avatar for Troy
0
160
Member Avatar for Squires

I'm trying to get PHP up and running on my computer. I'm running win xp and trying to install php 4.3.7 and using apache 2 webserver. When I try to load a php file on by web browser I get a blank screen. According to php.net the issues is this: …

Member Avatar for psusme1
0
209
Member Avatar for Hjcooke

Hi, im creating a website at the moment and i want to use this php code to create random effects on my page when its refrshed. Im using this php code which enetrs random text into a web page stored rom a flat file. Can any one help me, and …

Member Avatar for familyguy108464
0
214
Member Avatar for Electrohead

Hi, I am a bit of a newb with PHP and so far I have managed to get the hang of ECHO and INCLUDE, as well as that PHPINFO thing. I am trying to make a very simple user login thing simply to learn how it works. At the moment, …

Member Avatar for Troy
0
247
Member Avatar for nightmare666

Ok, i have a login process page... There is a problem though, whenever the user/pass is correct, it will do an action, but with the } else { or } elseif{ the following actions never take place and its just a blank page if the user/pass is incorrect... whats wrong …

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

Is there anyone here who could teach me php? I am new at php and I do not understand it too well. Sorry if this is in the wrong fourm.

Member Avatar for pulse
0
127
Member Avatar for bgharper

I'd like to suppress MySQL errors being printed in the header, so that errors can be passed back into the PHP page... My current code is as follows: [PHP]if ( ! mysql_connect($server, $database_username, $database_password) ) { $error = "There was error when attempting to connect to the specified database server: …

Member Avatar for bgharper
0
147
Member Avatar for michael123

I have a textbox where user can enter the date in format of MM/DD/YY, now I want to set a rule only accept the date within one month from current date, how can I do that, anyone help will be appreciated.

Member Avatar for michael123
0
134
Member Avatar for zeshon

Ok, I am fairly new to php, so please bear with me if I have done something stupid. I am trying to write a CMS, right now I am writing a piece of code to get the article title from the database. I used [code]<? include('dbconnect.php'); //Get the article title …

Member Avatar for RamiroS
0
181
Member Avatar for Mike D

Howdy folks! I'm having a bit of a dilema with a small piece of my coding. I'm working with a database that stores tour/gig dates for a band. The table has fields that include year, month, day, date, venue_name, name_ext, address, and a couple others. The field "venue_name" is the …

Member Avatar for Mike D
0
89
Member Avatar for ashneet

What i am trying to do is to make a like that sends some info to next page so that PHP could use query for the deta sent. OK here is how the hyper link looks like and i want it to send some variable to next page: [HTML]<a href="index.php" …

Member Avatar for Killer_Typo
0
197
Member Avatar for ashneet

what i am tring to do it to show a catalog with php and stop php from displaying any data to the cusomer if table does not have any information it. for example i want to use if state ment to stop and skip if data in the database table …

Member Avatar for Troy
0
128
Member Avatar for BeyerCorpuz

Dear Daniweb: I am using a book called PHP/MySql for the abs[PHP]Apache[/PHP] olute beginner. It includes a cd to installl a PHP triad. :p :cool: Everything goes fine with the install however when I wrote code to save a a .php the program will not work. I have installed PHP, …

Member Avatar for Troy
0
56
Member Avatar for aparnesh

Hi When I am trying to connect to mySQL from PHP, I am getting the error "Client does not support authentication protocol requested by server; consider upgrading mySQL client" . I am using PHP 4, mySQL 4.1 and Win XP Pro. The error is occuring both for Apache & IIS. …

Member Avatar for aparnesh
0
127
Member Avatar for senexom

Hey does anyone know of a way to crop images automatically while still focusing on the subject in the photo? I have a gallery of pictures and I would like to make all the thumbnails square shaped, just thought maybe someone knows if there is such a thing as smart …

Member Avatar for senexom
0
88
Member Avatar for michael123

Hi, I'm new to php, I want to know what's the better time to use POST instead of GET(or GET instead of POST)? what's the advantage to use one rather than other. Thanks.

Member Avatar for Electrohead
0
175
Member Avatar for senexom

Hi, Perhaps this thread does not bellong in the PHP forum, but since I'm working with PHP/Apache I'll try here first. I have setup subdomains on my site and realized that links are not relative to the wwwroot, but relative to subdomain root, I was wondering if anyone knows of …

Member Avatar for senexom
0
139
Member Avatar for Sean_F

Hey, im trying to make a PHP Login box for a program that i am making for my A Level project however, im new with PHP so dont really know much about the code :( lol. this is what i have so far <html> <body> <?php $username = "Admin"; $password …

Member Avatar for Sean_F
0
88
Member Avatar for alcoholic1

Hey all ive been trying to get the code bellow to work which should make an update password fourm but im not having much luck if any one can tell me why it's not working i will jump up and down around the room looking stupid lol [CODE] <?php require_once('Connections/koc.php'); …

Member Avatar for senexom
0
79
Member Avatar for chrisxkelley

I found this book extremely useful in learning and using php, mysql and apache together. it's great

Member Avatar for hollystyles
0
162
Member Avatar for xeno439

I am working on a site [url]http://flashmailforms.com[/url] that generates code for php mail form used with Flash. I am thinking of expanding this to include other simple php scripts. Anyone have any ideas how I can get the most useful and most "free" simple scripts? I want to make pages …

0
75
Member Avatar for ashneet

Hi all First thing is that i am new to php and i could get stuck on one semicolen. OK here is the code that i have problem with and the problem is that results given to both the query are same for some reason and i cant figure it …

Member Avatar for ashneet
0
123
Member Avatar for Koldar

Hi there, I was trying to get a script working that will fire me an email when my database cannot be connected to. This is what I have and I'm wondering if it looks right to you php experts. :) $conn = mysql_connect ($server,$user,$pass) or die(mail("$SendToEmail", "$yoursubject", $emailtext . mysql_error(), …

Member Avatar for Gary King
0
168
Member Avatar for namit

I am just looking to tidy the output form echo '<body bgcolor="#FFFFFF" text="#000000"></body>'; echo("Ping Output:<br>"); echo "<pre>"; $i = "11"; //check target IP or domain system("ping -n 1 192.168.2.$i"); echo "</pre>"; I am just looking for somthing like this Reply from 192.168.2.11: bytes=32 time<10ms TTL=128 With nothing else.

Member Avatar for techniner
0
145
Member Avatar for bgharper

Hi all. I am having a problem I've not encountered before. When using mysql_fetch_assoc() in while(), I am getting the following error: [INDENT][B]Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in archives.php on line 81[/B][/INDENT] However, when taking it out of the while(), it works fine. The …

Member Avatar for Troy
0
187

The End.