39,395 Topics
![]() | |
Hello again! Another noobish question :) Can PHP be ran in MFC? Can i add it right in teh html file or convert it over to php? or do i include it in html? do i create a box in c++ tat connects to the php page? or do i … | |
Hi, Iam sending email campaigns to our customers through our SMTP Server. Is there a way to directly remove the email addresses of the users to whom the email has been bounced directly from the recipient list database. Is there a software that could do this. Or can it be … | |
Hello I'm creating a simple Pizza website with online ordering capabilities. Since it's a simple site it doesn't require an extensive database which is why I'm using XML to store all my menu items. I'm new to PHP and XML so this site is part of a learning experience So … | |
Hi everyone, I have a project I'm working on where I am collecting data for a client on a form I host. They use "MailApe" (you know who I'm talking about), who aren't a very helpful group of monkeys. I need to collect the data to my db from my … | |
PLEASE can someone help me, am trying to upload files into mysql database. fine uploadiing the file is working, but trying to download thesame file, it's working, but the download is giving me a 0byte empty data. pls if any one has a full code on how to download and … | |
Hi, I am working on a order form using php, mysql & javascript. The problem I am facing is that while user input the quantity and rate of a product the js will auto calculate the total amount for the same. I am able to do this only for the … ![]() | |
hi i have images saved in a folder, the referrence id and imagename of that images are saved in database in the way as shown below... id filename --- -------- 1 flowers1.jpg 2 flowers2.jpg the folder is on the root directory on images folder as ../images/gallery/flowers now how i can … ![]() | |
HI To all, I am using php page navigation how pass selected check box value to next page. Example I am display 20 member details per page. First page i am checked 10 member. second page i checked 5 member. how to pass the first page checked value to second … | |
Hi Everyone How can i upload pdf file in php as i have noticed that tmp file of pdf file is not created . Thanks in Advance | |
Hi,guys.I have some confusing on order priority of several column in same table.Let say i am using concat for my searching, [CODE] $search_keywords=strtolower($search); $search_keywords = strip_tags($search_keywords); $search_keywords = mysql_real_escape_string($search_keywords); $replace_keywords = preg_replace("/[^a-zA-Z0-9:-\s]/", " ", trim($search_keywords)); $search_exploded = explode(" ",$replace_keywords); //get array keyword $search_exploded = array_unique($search_exploded); //remove duplicate words $x=0; $construct2=''; … | |
heya, your last answers realy helped me out, but i'm still stuck with another question. what i want to do is the following. i have a database with this in it:" [CODE]id land streek rood wit rose 1 Frankrijk Bordeaux 1 1 0 2 Frankrijk Bourgogne 1 1 0 3 … | |
I'm looking for cool code editors for Windows 7 Ultimate 32bit. If you have any please tell me! I am using... [LIST] [*]Adobe Dreamweaver CS5 [*]Intype [*]Notepad++ [*]ConTEXT [*]Notepad 2 [/LIST] I don't really give a frogs fat aśś when it comes to how heavy the program is. Whether it … | |
Please help me can sumebody give me a comment script that uses PHP but it doesnt need to use a MYSQL database. | |
i am new to php,.... how can i make a link for php, where in i wrote my code in html??? | |
Hi, I'm looking to build a video sharing site and would like to ask what I need to get started with. I read about adobe flash server, but do I need this to build it or can I just user a hosting company that hosts sites like this. This is … | |
I was just browsing through facebook profiles and some other social networking sites like twitter and I realized that each profile has its own URL. However it is a simple URL and not a complicated one (e.g. facebook.com/john.doe). My question is how is this possible to develop? Is a folder … | |
I am trying to set up a text message newsletter on my website. The basics of it are someone submits their number and I can go in and send out a message to a list of the numbers. I want to know the best method of going about this. I … | |
Hello all, I need to extract data from a website, say for eg. Buy.com's Electronics category and save it either in MS excel. I tried looking for the code over the internet, but this wasn't properly explained anywhere. Please help me. ![]() | |
Hi how can I assign html body tag contents into php variable then use it as the body of email | |
hi, pls help me the following if feasible. 1. i have a file "tax.php" <TR> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --ABC BG<br> <u>Address- </u>123 main st. Suite 307, Flushing, NY 11354<br> <u>Phone </u>111-11-11<br><u>Email</u>- [email]SOMEONE@DOMAIN.COM[/email]</td> <td ALIGN = "left" valign = "top"> <b>ABC</b> <br> --SDFS BG<br> <u>Address- … ![]() | |
Hey guys, I understand how to setup the cron job to run once a day. Now I am having trouble putting together a function to do the following: I need to delete all content (rows) automatically where the "expire_date" field is equal to or greater than todays date. Keep in … | |
Is there any way for me to get a .php file to open in a web browser without a server? | |
![]() | Hi everyone. I am trying to work on a script that will ban a user from accessing my website for x amount of time. Here is the html and sql code. [B]HTML[/B] [CODE]<?php $date = 'd-m-Y'; $endDate = strtotime($date); ?> <tr> <th>Length of Ban</th> <th>:</th> <th> <select name="period"> <optgroup label="Temporary … ![]() |
blem I have a probem with my api signup page, the below code $this->obsConfig.... is not working i think it is outside a call but not sure how to put it in a class anyone know how to wrap this up? [code] $this->obsConfig['apiCall'] { ='AddUser.do'; $command = ""; if (!isset($obsAccount['username'])) … | |
Hi everyone, Edited: So I figured out how to show the submit buttons. My next question is how to incorporate a security measure like html_entities in the action of the form? [CODE] <?php require ("core/config.php"); $tablevaluegetter = mysql_query("SELECT * FROM ratingsystem WHERE typeofsite='somthingtorate' ORDER BY ratetotal DESC"); echo "<table border='1'> … | |
hi guys, i want to express the data which is extracted from database in a table in the following fashion item1 item2 item3 item4 item5 item6 item7........... ............itemn dynamically but i can express either row wise or column wise but not as shown above please help me with the code … | |
Hi, I hope someone here can help me with this problem. I want to create a button in my site such that when it's pressed, the site database will be exported to an excel file. The codes to export database I got works fine but when I try to merge … | |
in a database for a company,what technology is best for enabling for examples certain staff memebers to make bookings/access the database from any location using a **Browser**? how do i implement this and how can i make it work? please HELP! p.s i have been researching and thinking creating a … | |
i need help with a project im working on. im writing a task manager for school, and lets say i have a section for the due-date. How would i write a calendar that pops up like in Google tasks or phpmyadmin when you go to insert a date. thank you. ![]() | |
Hi all my friend. i am new in PHP .i am working on open source job portal . i want to ad a common feature dynamical registration from . so that any one can ad any field in registration from from admin. Please Help me do do that . If … ![]() | |
hi, Php developers , need a help here. how to make php shortuts in [code]%shortcuts%[/code] or [code]:shortcuts:[/code] ? I know only a shortcut of [code]$shortcut[/code] But this is not usefull . Thanx in advance :) | |
i need help with something lets say i had a url: [url]http://domain.com[/url] and it was supposed to go to the page [url]http://domain.com/loggedin.php?goto=hi[/url] how would i make it so in the browsers url bar, it only says [url]http://domain.com/?goto=hi[/url] | |
when I visit some websites I see that their menu bar seem to be a single bar (like an image ) with some demarcations but once you move the mouse over it that part only changes into another color to indicate that the mouse points to that link.How is this … ![]() | |
I am writing a script to register users, but I want to add an incrementing suffix to each duplicated name. The script works and posts to the database. On entering a name for the first time, everything is OK, but when I enter a duplicate name from then on, the … ![]() | |
Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the … | |
Okay so I set up a registration form and everything goes well when registering but when I go and check in MySQL database the row is created but only the id field is filled not the First Name, Second Name, Email and Password. Here's the .PHP for processing the registration … | |
Was curious how to validate a phone number input field? Currently I am requiring that the phone # format be (5555555555) so that i can simply say if(is_numeric($phone_num)) so then when i retrieve it from DB i must manipulate the string to format it properly"(555)555-5555" But i was thinking it … | |
hi all, i am integrating facebook to my website so that user can login into facebook and get his photos from facebook to my website.. so how can i do that can anyone help me.. Thank u.. | |
Hi all, We are having problems in the shopping cart created. It says "Shopping cart" is empty some pc's but on some pc's it is functioning properly. The shopping cart is working from my side but from client side (on client's pc's) it is some pc's working and some pc's … | |
Hello, How to call a function on form submission. Thanks ![]() | |
help me plzzzz.. mine got problem.. [CODE]<?php $Ticket_No = $_POST['Ticket_No']; ?> <form enctype="multipart/form-data" method="post" action="daily_update.php?id=<?php echo $Ticket_No ?>"> <table width="50%" border="1" cellspacing="3" cellpadding="0"> <br> <tr> <td align="center"><strong>Status</strong></td> <td align="center"><strong>Asignee </strong></td> </tr> <?php require 'connectDb.php'; $query = "SELECT * FROM daily WHERE Ticket_No= $Ticket_No"; $result = mysql_query($query,$db); var_dump($result); die(); //$result = … | |
Edit: I fixed the problem! Someone please delete this or something! | |
Hi.. I had successfully connected MySQL database usng ADODB.But I could not connect Using PostgreSQL database with ADODB.I had used the following code for connection. [CODE] <?php include("adodb/adodb.inc.php"); $db = NewADOConnection('postgres'); $c=$db->Connect("localhost", "postgres", "postgres", "dbname"); $db->debug = true; if(!$c) { echo "not connected"; } else { echo "successfully Connected"; } … | |
[CODE]echo ("<tr bgcolor='B0C4DE'>"); $value=$row['idbook_code']; $author=$row['b_author']; $book=$row['b_name']; echo ('ISBN : '.$row['idbook_code'].'<br/>'); echo ('Title : '.$row['b_name'].'<br/>'); echo ('Author : '.$row['b_author'].'<br/>'); echo ('Books Available : '.$row['b_avail'].'<br/>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("Available".'<br/>'); }else { echo("<input type='hidden' name='idbook' value='$value'>"); echo("<input type='hidden' name='author' value='$author'>"); echo("<input type='hidden' … | |
hey , yesterday i installed fresh apache and php in CentOs 5.5 pc , my problem is my php is not working well ,, every time showing errors .....how i solve this error please help me ... for eg: while i run a simple code snippet [CODE]<?php echo "php execution … | |
I have a Mysql database and I am trying to import multiple records with multiple columns into Flash AS3 using PHP. My problem is I am able to make it work with a single column and multiple records but for multiple columns I am not being able to format it … | |
im trying to create a form that redirects the user to anther page and also stores the information in the database. here is the code [CODE]<?php mysql_connect("localhost", "DBname", "Password") or die(mysql_error()); mysql_select_db("DBname") or die(mysql_error()); // Retrieve all the data from the table $result = mysql_query("SELECT * FROM players") or die(mysql_error()); … | |
[CODE]//this function generates the distinct random numbers for the 25 requirment function unique_rand_numbers($numbers) { for($i = 1; $i = 40; $i++) { $numbers = $i; } $array = array(); //get unique random keys from $numbers array. $rand_keys = array_rand($numbers,25); //this sorts the distinct random numbers taken from $numbers in random … ![]() | |
I am getting the Error Registration message... why? [CODE]<? session_start(); include("database.php"); /** * Returns true if the email has been taken * by another user, false otherwise. */ function emailTaken($email){ global $conn; if(!get_magic_quotes_gpc()){ $email = addslashes($email); } $q = "select email from users where email = '$email'"; $result = mysql_query($q,$conn); … ![]() | |
hi guys, i'm having this kind of problem Warning: Cannot modify header information - headers already sent by (output started at /home/deleted/public_html/affiliateomega.com/face-fans/style.php:4) in /home/deleted/public_html/affiliateomega.com/face-fans/facebook.php on line 378 i really don't know why what's wrong, i've already check if their is a space or blank line but i got no clue … |
The End.