39,320 Topics
| |
Hi.. Note that Iam quite new at this :) What I try to do is to give the option to members to update/change their password or email. How do I tell when nothing is entered in password field lets say not to POST anything. The code below checks if username … | |
Hallo everyone, Im new to this forum, but not new to PHP, I do a lot programming in it, but sometimes I have to [B]less[/B] knowledge to solve the problems I get. The title is not very explained what my problem is, so mods, edit it if you want. [B]The … | |
Hi, Can you please help me? I need to store the path to an image in a mysql database. Would anyone be able to provide me with a script that can do this? Thanks Col | |
Dear All, I want to convert a jpeg or png or gif file to bmp file ... can anyone help me..... It will be very thankful if anyone publish the code for converting other type of image files to BMP file.. Thanks in advance.. Jino. | |
Hello All, This is my first time to join this community, but it seems very good! :) Anyways, I have a question, right now I want to use AJAX with PHP so that I can get the size of a file meaning, when you choose a file in the form, … | |
I post this question on behalf of my tech team. We simply put the following Google AdSense code into the [url]http://www.requestfill.com/myreqfill.php[/url] (I cross the publisher number in this posting) [code=html]<script type="text/javascript"><!-- google_ad_client = "pub-xxxxxxxxxxxxx"; /* 728x90, created 6/1/08 */ google_ad_slot = "6307144564"; google_ad_width = 728; google_ad_height = 90; //--> </script> … | |
Hi! I am new to php, I got a migration project from php to asp. that project use cakephp we got the project folder containg app and cake sub folders and .htaccess file pls help me out in configuring the site thanks | |
Hi everyone, I have a table with 7 fields, and I have a search page, which has seven text fields and one submit button, and according to the criteria entry the result will be displayed on the same page, below the text fields. I need this on many of my … | |
why does this work? [code=php]function restrict($string){ $words = @file('restrict.txt');//found at [url]http://verve2.org/runningStory/restrict.txt[/url] $me= "(((((())))))))("; $me = str_replace($words, '',$me); echo $me; }[/code] no output and this not [code=php]echo restrict("(((((())))))))("); function restrict($string){ $words = @file('restrict.txt'); $string = str_replace($words, '',$string); return $string; }[/code] output: (((((())))))))( i noticed on the second one it only does … | |
Hey, Im designing a website hosting business's website and have a relatively simple whois script which when you enter the website, it checks if it is available then returns some text in a span just under the form. At the moment the user types in any domain type (.co.uk / … | |
I'm a eperienced php freelancer, I have worked on different type of website, Real Estate, OSCommerce etc. I can work on temporary, hourly, hire, contract, freelace or salary basis at very cheaper rate. Please contact me at <URL snipped> Thanks | |
I am creating a movie database. Right now I have each movie set up as its own table. Inside each table there are fields for title, summary, rating and so on. On one of my web pages, feeding off this database, I want to show the movie title, summary and … | |
I am doing a a form to add a new product to the database.when i try to run the form i am having this error.please help.I have attach my coding below: [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html> <head> <style type="text/css"> <!-- body { … | |
Hey, im trying to use the mail() function, but its not working. This is the script: [CODE=php] <html> <head> </head> <body> <?php if(mail("coolgamer48@gmail.com","Test","Test","From:coolgamer48@gmail.com")) { echo "Success"; } else { echo "Failure"; } ?> </body> </html> [/CODE] I keep getting "Failure". Is there an issue with my syntax, or is it … | |
Hello all. I have an HTML page that displays a list of comments left on a site. The administrator needs to go in and put checks next to the comments he wants to delete, and click submit. echo "<td width=\"75\" align=\"center\"><input type=\"checkbox\" name=\"toApprove[]\" id=\"approve\" value=\"approve\" />"; echo "<td width=\"75\" align=\"center\"><input … | |
Hi, Can anyone help me here, I want to display an image using the path of the image and the image title from a mysql db? I can upload the info to the db, but I have trouble displaying the image. Here is the code: [code=sql]CREATE TABLE `trailer` ( `id` … | |
hi, this is a snippet of my codes, <td><a href="editFunction.php?ID=<?php echo $contact['ID']; ?>">update</a></td> after clicking "update", the ID will be passed to the editFunction.php page. editFunction.php [code=php]<?php //get variables from previous page $ID = $_GET['ID']; //sql statement to retrieve the commands $sql = "SELECT * FROM contacts WHERE ID LIKE … | |
Hi, I'm making a website for a friend who sells sports memorabilia and I'm using a LAMP setup. I am making a menu that utilizes AJAX. The menu consists of a SELECT tag, we'll call this SELECT1, where the user clicks it, it drops down a list of leagues such … | |
Hi there. All mail sent through the SMTP server, i need to modify the message being sent through. I already have a PHP script to send MIME emails with embedded images for HTML meails. What i need is a script to modify the message being sent to SMTP and return … | |
Hi, I am making a mailing program and the problem i'm having is that I want to display the message exactly as it is entered for example, when the sender presses enter for a new line the reciever see's it. I have thought of using <pre></pre> tags but if the … | |
Well, The main problem for any popular [ wide ] Images Hosting website .. is the bandwith ! and this problem can be solved with Multi-Server programming .. with PHP I have some ideas in my brain .. it's like : - administrator provides me with 2 - 3 servers … | |
This is a contact form php script which i got from some site. But when i uploaded to site, it shows " parse syntax error" . Its somewhere between line 30 to 35. Please review it and find ou the error. <?php $EmailFrom = "contact@test.com"; $EmailTo = "root@localhost"; $Subject = … | |
Can we arrange a single table in two ways within a page .? I'm in a situation where I need to arrange a single table in two ways within a page, When I test the first piece it works ,even the second piece works great when tested alone, but when … | |
echo removes white spaces from the text and stored text shows up w/o line breaks .. How can i correct this ? When i view my db tables and contents in it using phpmyadmin, the text stored in them look normal .. the way i typed it .. but when … | |
Hello everyone, I have a photo album located in [url]www.myphotoalbum.com[/url] I uploaded a lot of photos and I was wondering if there's a way "downloading" or retrieving ALL of my photos to my pc since they're located on their server and I cant download them one by one by clicking … | |
I am trying to execute a mysql query of the form: [code=php] $query = "Select * from individuals where MotherId like '%".$iName."%' or FatherID like '%".$iName."%' "; [/code] I am getting an "unexpected FatherID" error message. FatherID is of course an attribue of the queried table. The query works as … | |
hi, my name is gurmukh singh . i am near about expert programmers of php ,mysql development. i deal with web development from last 5 years, Also certified Java programmer. i am very thankful to deniweb that is providing wonderful plateform of information sharing | |
I've hit a new road block on my VIN decoder page. I want to echo something only if two variables are true. Here's what I want to do: if (($Series == "D") && ($ModelYear == "2")){ echo "Skylark"; } else { echo "This is not a valid Series"; } When … | |
I am trying to only certain characters to be saved to the database from input of a textarea. The input is going to a variable called $vBody. What I have below works: [code]$vBodyCleaned = reg_replace('[^A-Za-z0-9~!@#$%&*()-_=+'|:;",./? ]','',$vBody);[/code] except for the fact that the client wants to preserve the line feeds and … | |
Hi, i have already uploaded a video file in the .avi format, but now am stuck. i don't how to proceed to be able to play the file.i have used the PHP language. it will be very nice if someone can help me.PLEASE.i think a sort of streaming has to … |
The End.