Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

not submiting form if containing www. or http:// preventing spam

I want a website to have a form that DOES NOT use captha but I get alot of spam. I want to use a couple of methods that will not deter the user. My methods are   honeypot technique(hidden form) and not...

View Article


Image may be NSFW.
Clik here to view.

form action Google search with user input

Hi guys, I have a question that I hope has a simple solution. Here is what I am trying to achieve.   User adds in a type in the input field, selects a state from the drop down, and clicks search....

View Article


how to send form information through ext. url NOT mail() using php

Hi, I need to send form data through this url using post method form action="https://www.testdomain.com/servlet/servlet.WebToWeb?encoding=UTF-8" method="POST except the action url needs to be changed...

View Article

How to pass variable to exec command in php script?

I want to get the values of variables from html form and then pass to the command of exec function in the php script, but it is not working:   <?php     $host = $_POST['localhost'];     exec ("echo...

View Article

Image may be NSFW.
Clik here to view.

Having problems with my <ul> in my for loop.

Hi all, I'm studying PHP and trying to get to grips with it. Hopefully you'll be able to help me on my quest to mastering PHP As you'll see in my output i've acquired more bullet points than needed,...

View Article


Simple XML Output - formatting

hi   i wonder if someone can help   i have some code to make a simple XML output <?php header('Content-type: text/xml'); header('Pragma: public'); header('Cache-control: private'); header('Expires:...

View Article

Image may be NSFW.
Clik here to view.

Photo gallery help

Hey guys!   Hope i'm posting this in the right place!   I'm making a simple site with an image gallery.   using some simple code i found after a quick google, i've got a gallery all set up and working....

View Article

How can I load multiple tabs from one form submit only using HTML and CSS?

Not sure if this the best forum for this, but here goes:   Background: I have an account with Smugmug.com They recently revamped their website. With this revamp, they no longer allow you to add your...

View Article


Image upload script issue

Hello   I am trying to get the following script to work for uploading images to my websites images folder but keep getting the following error.   Parse error: syntax error, unexpected T_VARIABLE in...

View Article


new message every day

I have had a different message appearing evry day based on the name of the day. I now want a message based on the date up to 31. I have tried messing to no no avail. Help will be appreciated...

View Article

Image may be NSFW.
Clik here to view.

Optimize my application

Alright i am using PHP,Jquery, and MySql for this application its like an employee in/out status board with notes. I threw it together pretty quick just wondering if any would optimize it for me or...

View Article

how to pass variable using radio button without submit button

here is my code:   <input type="radio" name="SearchIDItem" value="Dept">Department <input type="radio" name="SearchIDItem" value="CatItem">Category Item <input type="radio"...

View Article

Overuse protection

My website is on a free host that not only limit the storage space, like many do, but also limit the processing. It happened to me a few times in the past that my website was temporarily replaced by a...

View Article


Text displaying as an image and text?

I have been developing some code that will allow my client to chose whether she wants to put an image left, right or centred on her news page. The code is working brilliantly and allows her to do so...

View Article

I'm creating a program that prompts the user for 2 different positive...

HERE IS MY CODE: _____________   Machine1.html _____________   <!DOCTYPE> <html> <head> </head> <body> <form method="get" action="MachineTemplate.php"> Enter a...

View Article


Image may be NSFW.
Clik here to view.

Login Page Does Not Work Php and Mysql

Hello, I was making a login page with PHP and Mysql and have managed to debug all the errors, but the page says 'Wrong Username or Password' even though i have typed in the right password from the...

View Article

email verification issues......

<?php error_reporting(E_ALL); if ($_POST) { $year2 = date('Y'); $year = (date('Y') - 18); $month = date('m'); $day = date('d'); $datecheck = mktime(0,0,0,$month,$day,$year); $yearcheck =...

View Article


PHPmyAdmin Question

Hello everyone,   Firstly, apologies if this has not been posted in the correct forum!   I have a database containing details of visitors to our website who have registered an account. Upon registering...

View Article

Help with sql query of a case select box

For some reason we can't seem to get our select box in our search from to query from the database and generate results. Here is the snipit of code. We have tested and tried to just duplicate the code...

View Article

check if name exists

hi just wondering how i would go about checking if a companys name is already in use and if it is show a message at the side saying u cant use this name as its already in use, i know how i would do the...

View Article
Browsing all 13200 articles
Browse latest View live