Forums Page 92
-
Preserving user-entered linebreaks
Hi, I'm building a web 2.0 thingy from scratch and I wanna display text which users input. It's all good so far, except that all the linebreaks are…
-
Inserting multiple records from single form
I've found a number of threads that deal with this issue, but I'm new to php and coding language so I don't quite understand what they're talking…
-
PHP If Else statement for breadcrumb
Hi I am trying to use a PHP if else statement to display a breadcrumb link on wordpress The code Line number On/Off | Expand/Contract <div…
-
Create a form of 2 numbers input and find the greatest.
Hi, everybody. I have a homework in my training of php, which ask you to make a form that asks you to input 2 numbers and so tell you which number is…
-
please fix the error
What is the error in the below code ??? Line number On/Off | Expand/Contract <?php if(array_key_exists_r('email|password', $_POST)) {…
-
PHP Captcha Error help - replace the "die" command
Hi All, I am after a bit of help with a Captcha spam protection box. The site gave me instructions, and all is well, apart from if the user give the…
- Advertisement
-
Internal class functions don't seem to get executed.
Hi. Can someone please put me out of my misery on this. I don't write much PHP and this has me baffled. I've probably work myself into the wrong…
-
Add a sign-up feature to a flat file login script
I'm working on a flat file login script and I would like to add a sign-up feature to it with a email confirmation process. Here is my code : Line…
-
Php script to read msword file
hi, I need to read a msword file and i want to print the contents in that word file. i used the fgets() and its working for text file. but its not…
-
upload only text files
hi guys i want to upload only text like like (pdf,note pad and ofiice files) so can any one please tell me how can i restrict that
-
need help about <input value>
i store the value of my select statement result to an array and stored it to a variable named $fname the i used it as the value of: <input…
-
Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of the same email. I know I need to do an IF…
-
progress bar...need expert opinion of experienced webmaster
Hey guys, quick question: I want to display a progress bar when I upload files, but I am not sure how to approach it. I have searched for hours and…
-
How to disable direct access to a file
Suppose I've 2 Files. 1.php & 2.php I don't want anybody to access 2.php directly from browser. Eg: http://localhost/2.php but I want 2.php show…
- Advertisement
-
Protecting forms
Alright, I want to protect some forms of mine from SQL Injections, because I had someone earlier spamming, and not just regular spamming. They edited…
-
Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm going to try and make it as easy as possible…
-
Remove Rows From Database ad
Hi All, I have this: Code: [Select]<?php session_start(); include('../common/dbconnect.php'); $stock_id = $_GET['stock_id']; $query='SELECT * FROM…
-
Script not running properly
Hello Everyone This is a basic script for posting to a database. I'm not sure why it doesn't work. Can anyone tell me why? Code: [Select]<?php…
-
error checking breaking my code
Hi there, OK first of all, big apologies for what I assume is really fundamental errors in the structure of my code. I'm really new at this and still…
-
DATEDIFF Question
First time post, and of course it is a help question. I am using a WP plug-in to display previous and next games in a season. (Leaguemanager is the…