39,320 Topics
| |
The email is going to spam. How I tweak the code so that email would sent into Inbox not into SPAM. Please help.... | |
hello, I use this code. But got a proble is shown below: Fatal error: Uncaught exception 'PDFlibException' with message 'pdf_open_image_file() expects exactly 5 parameters, 4 given' in D:\xampplite\htdocs\Resturant_project\user\image_test.php:7 Stack trace: #0 D:\xampplite\htdocs\Resturant_project\user\image_test.php(7): pdf_open_image_file(Resource id #2, 'jpeg', 'images_017.jpg', '') #1 {main} thrown in D:\xampplite\htdocs\Resturant_project\user\image_test.php on line 7 and code is shown … | |
I am currently making a change password area and I wish for users to be able to change it although for passwords to be more secure we ask that passwords contain both letters and numbers and if users so choose they may have special characters as well.. I could not … | |
Hi I have a while loop set up to call data from the database which is successfully doing. i would like my users to edit their own content on the database, a user can have many publications and so the user should be allowed to amend each publication. At the … | |
Hi there, I've search all over the internet on how to list a directory in PHP but failed to do so. I've seen other php scripts but it didn't have the features I want. Do you have something like this: 1. It allows you to display all the directories and … | |
a apart fro SQL injection what are risks to comsider when querying database? What are risks when uploading files other than limiting some extensions (like exe's)? | |
hi i was making calendar for my website some how using different tutorials i made it but i want to makes some changes but cant figer out can some one plz help me ... i am also comparing emp date of leave if thats true then it will change the … | |
I am trying to see the restrictions of $_GET global variable and when I use the URL localhost/test/test.php?abc.def I am getting the variable abc_def in the global variable $_GET, any ideas? Any other restrictions? | |
I have a piece of code as follows: [CODE] $query = preg_replace('/\<a href=\"(.*)\"\>\<img height=\"(\d+)\" border=\"0\" width=\"(\d+)\" alt=\"(.*)\" src=\"(.*)\" \/\>\<\/a\>/',"INSERT INTO newproducts (productName,supplierName,productLink,imageLink,groupCode,currency,price,updated) VALUES ('$4','supplier','$1','$5',",$ad); $query .= "'$group','\$',$price,CURRENT_DATE)";[/CODE] which works fine. But I would like somehow to amend it so that the field productName ($4) can have slashes added to it … | |
Send email from a website to a specified email. I am using user@puruinvestech as an email (Google Email Apps is setup). Email contains fields like Name, Mobile, Email of the user in feedback form. | |
anybody i need the codes to display image. im stucked with it. Im already done doing the codes for uploading. see it below.. i badly need it <?php // Create MySQL login values and // set them to your login information. $username = "root"; $password = ""; $host = "localhost"; … | |
I have on my website: index.php members/login.php members/redirect.php What i am trying to do is i have login point to redirect passing the login info from login.php. in redirect.php I want it to set all of the session variables that i will need everywhere else in the site, however, using: … | |
Hello, I need some help. I have a MySql DB, and some fields have Japanese values. DB collate is set to: utf8_general_ci When I check for a specific register with PhpMyAdmin, values with japanese characters display ok, but when I try to get the same register to show it using … | |
Hi All, Okay, this has been bugging me for the past two days and i cannot think straight! Basically, the theory is, the member will upload a video, link is stored in database and on the video page all the videos are displayed click on video and page opens with … | |
Hi to all wordpress masters :$ I created a custom plugin that tracks my customers orders. Now, my problem here is how to integrate or to create a custom search that play only on the specific table I created for orders. Thanks in advance! -Alfred | |
[CODE]<?php /* +-----------------+------------------------------------------------------------+ | Class | setup | | Author | Brian Onang'o | | Version | 1.0 | | Last Modified | 10:16 AM 10/2/2010 GMT+3 | +-----------------+------------------------------------------------------------+ | This program is free software; you can redistribute it and/or | | modify it under the terms of the GNU … | |
I keep getting a syntax error in this code and I need a new set of eyes to show me what I am doing wrong. It is coming back and saying that I have an unexpected } on line 36. [CODE]<?php require_once("config.php"); //Connect to mysql server $link = mysql_connect(DB_HOST, DB_USER, … | |
I need simple product management script which is able to perform -add new product. -delete product. -update product. -view product -keval | |
I'm trying to search a mysql table column for a number. However when I enter a number into the search form I get told that no query has been entered. Here is my code. Database connection information left out on purpose. [CODE] <?php if(isset($_POST['submit'])){ if(isset($_GET['go'])){ if(preg_match("/^[ a-zA-Z]+/", $_POST['search'])){ $search=$_POST['search']; $db=mysql_connect … | |
I am wanting to create an online attendance sheet that would allow users to log on and use check boxes or option buttons for twelve weeks corresponding to wk1, wk2, wk3, etc... I have no problem retrieving the members of the group (records from db) but do not know how … | |
Hey everyone I was hoping if you can help me fix errors on a admin login form im using. Heres the code [CODE]<?php session_start();//works with session cookies, helps have persistant data i.e. if user is not logged in there will be no session variable if(isset($_SESSION["manager"])){//if it does not set session … | |
Hi all! I am working on making a dashboard for the inventory of our trucks. I'm having some problems with figuring out how to calculate the percentage of the total SUM of trucks per MAKE without running two different queries. You can see below what I have working this far, … | |
Hi everyone, I'm having a problem on passing values from my combo box. Let me show you first my code. I have 2 files [B]test.php and view.php. [/B] This is what's [B]inside the test.php[/B] [CODE] while($row = mysql_fetch_array($strSQL)){ $data .= "<tr>"; $data .= "<td>"; $data .= "<input type='checkbox' class='memberchk' name='membersID[]' … | |
Hi folks, I have used my connection for all my scripts, but when I am trying to INSERT the BIRTHDATE of a register user scripts i get the ERROR below: [CODE]Check for mysql_real_escape_string() support. if (function_exists('mysql_real_escape_string')) {global $dbc; // Need the connection. $data = mysql_real_escape_string (trim($date), $dbc); } else { … | |
Hi i have a news table. I am using the query "select * from news_table where news_id in(8,3,6,1)". This query is working properly. But the problem is i need to return the rows in the same order what we give in the 'in' clause. ie, first record with news_id 8 … | |
Pls help me for video uploading..can you give me a codes for uploading? | |
hey, it has been a couple of months since i have been here, and let's get strait to the point. someone told me you can change the page title of a dynamic link with the .htaccess file. for example i have a page. [url]http://www.mywebsite.com/page.php?id=1[/url] i include this page for different … | |
Does anyone have an example of how to disable PHP Safe Mode for a specific directory? My PHP is configured as an Apache module. Thank you |
The End.