39,320 Topics
| |
How do I handle multiple files uploads I know how to upload them but then I want to know how to output like the photo's into the blog post. currently I know how to upload a file and put it in one place into a page template but what wopuld … | |
This seems like it should be a simple thing to do but I can't seem to find any information on what codes to use. I want to be able to enter a record, submit it through php to a database then continue entering more records using the same form - … | |
Hi, I have the following .htaccess file in the directory <domain>/ss/c/ [CODE] RewriteEngine On Options +FollowSymLinks RewriteBase /ss/c/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /ss/c/index.php [L] RewriteCond %{HTTP_HOST} !^www\.sexspinner\.com [NC] RewriteRule ^(.*)$ http://www.sexspinner.com/ss/c/$1 [R=301,L] [/CODE] and a index.php file with the following PHP [CODE] <?PHP $cat = $_SERVER['REQUEST_URI']; … | |
Hello everyone. I have a folder with TEST name. In this folder I have 3 files : index.html , Untitled.swf , Untitled_toolbar.swf When we open index.html file we can see that video! Clearly I can say , we have 2 address: [url]http://...........com/TEST/[/url] [url]http://...........com/TEST/Untitled.swf[/url] I want to lock this address! [url]http://...........com/TEST/Untitled.swf[/url] … | |
1. Welcomecaller.php <form name="myForm" action="/send.php" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="thankyou.html" /> Name: <input type="text" name="fname" /> Email: <input type="text" name="email" /> Phone No: <input type="text" name="phone" /> <input type="submit" name="submit" value="submit"/> </form> 2. Send.php <?php $to = "safiullah12@hotmail.com"; $subject = "Brought to you "; … | |
Hi, first post here, anyways\s here's the deal... My dad owns a clothing company and we have 3 local shops. He is going to be buying a POS system that uses Windows XP and a barcode scanner. I don't really know anything much about barcodes, but the local cd store … | |
hi ppl, i am having issue updating the table with details from edited form, and it turns out to be foreign key constraint issue. the error i am getting is, ================================ Cannot add or update a child row: a foreign key constraint fails (`****`.`purchase_order_detail`, CONSTRAINT `purchase_order_detail_component_item_id_component_item_id` FOREIGN KEY (`component_item_id`) REFERENCES … | |
[CODE]<?php include 'menu.php'; echo "<br>"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php include "config.php"; // Get values from form $IDTrabalho = (isset($_GET['idtrabalho']))? $_GET['idtrabalho'] : ''; $IDCliente = (isset($_GET['idcliente']))? $_GET['idcliente'] : ''; $Descricao=$_POST['Descricao']; $Quantidade=$_POST['Quantidade']; $Preço=$_POST['Preço']; echo"$IDTrabalho"."<br>"."$IDCliente"."<br>"."$Descricao"."<br>"."$Quantidade"."<br>"."$Preço"."<br>"; … | |
Good Morning, I have a membership site and to date haven't been gathering information of the sensitive nature. But now I need to get SSN and DL etc... We bought an SSL Cert, and now my challenge is this: Do I secure only the pages that relate to gathering this … | |
Hi friends, I likes to implement "Remember Me" Option while sign in to my web site. Please advise me a secure tutorial for doing that . I did all the part of coding ie, at the time of login process 2 sessions will creates named "username" and "password" . and … | |
Earlier today I created simple database (user and login fields), login, and registration PHPs. Now I need help going about the following enhancement: In a nutshell: I am trying to create a registration form like facebook's with php code (and link it a mysql database)... 1.) My updated registration.php has … | |
Does anyone know who i can take the buffer size, buffer number and page size using php? Thank you very much | |
hii ppl.. i have a edit form, which is populated from the database, things work fine till here. now i want to update the table with editted details. if i echo the details from $_POST variables it prints fine. but if i update the table it doesnt.. this form is … | |
[CODE] Pls, can any one tell me what is worng with this code? when i run it , this is what i get [There was an error with the database. It has been logged.] any help? Thanks. <?php session_start(); $navtype = $_GET["nav"]; include "config.php"; ?> <?php if($navtype == "mail") { … | |
Hi All, I need your help/suggestions for following problem. I have a shell script which performs following operations and finally reports the time taken by each operation: a. Creation of directories and file within them recursively. (Say DIR1) b. File listing recursively (ls –R) c. Copy (using cp –r ) … | |
Well, it is probably simple for most of you. But it is returning errors for me. Just a heads up, I am creating registration with mySQL database and I am using "email" in place of normal "username" during registration. Here is code for page after registration has been attempted: [CODE]?> … | |
I have an idea for a web site and would like to build one. I know nothing about HTML, PHP etc, but am willing to read and learn as I go. I want the web site to have users and I want the users to be able to participate in … | |
Hey all, I'm developing a web app for a school, and among other options I need to generate PDF files from a pdf template, those pdf files must include personal info from clients, so they require to take the values from mysql which is easy to do. However, I don't … | |
hi guys i have a problem with php and sql my website is made in codeigniter and i have a transaction page which works perfectly...i also have a cp screen that shows the "last transaction" the transactions log deposits/transfer/withdrawels and if someone purchases a package whereas the transaction page works … | |
Hello all. First time post. A little background before I ask my very first NEWBIE question. Have committed myself to the design of a business software solution for an existing client. For approx 10 years, they have been using a custom MS Access database to keep track of their magazine … | |
hello people I Have this error mssg can anybody help me see what i am not seeing here that is wrong? thanks Parse error: syntax error, unexpected $end in /home/www/t.php on line 434 this is my php page [CODE]<?php session_start(); /****************************************************************************** * * * * * * ******************************************************************************/ /****************************************************************************** * … | |
hi i need help deleting files via php, i can delete files using php, but i want to be able to delete a file by typing in the name of the file. the directory i want to delete a file from is "users/" here is the unlink script i have … | |
I'm fairly new to PHP and I'm trying to create a simple database that gives the description and urls to articles I have put in my database. The problem is, when I put the column 'link' (with the resulting urls) between <a href> and </a>, the link is not yet … | |
Hello friends, this is the first time that i deal with cookies, i'm creating only one cookie for my site. This is the problem i want to validate one thing in my main page, that the user will be able to just click once a link, so in my cookie … | |
Hi everyone. In my application i would like to have some kind of custom fields, which can be defined by administrator. For example, we have two types of goods: food and toys. Those two types has common fields, e.g. name, price, amount. I'm planning that administrator can create custom fields … | |
I'm very stressed out right now and cant seem to fix the problem with this php/mysqli script. I will pay $10 through paypal to anyone who duplicates my code, (and its fixed) as a reply to this thread. My deadline is very close, and I need it within a day. … | |
hi i need help here i have a form which will be filled by user his name email phone number etc...and then that information will be submitted into my ZOHO CRM account and using that information i like to fill a Proposal and Generate a PDF of that Proposal and … | |
Can any body help me how can i design my first page in PHP and database sql server2008 which should have four textboxes in the center of the form like this Name Naveed FatherName Akhter DOB - NIC NO - and two buttons one for exit and one for changing … | |
Hi, I basically have two functions; the first one below [b]GenerateFormTokenHash()[/b] is placed in a hidden field on my form and echoed out in the hidden field plus it stores the token in a session called [b]token[/b]. The second function below [b]IsValidFormTokenHash()[/b] is called straight after the check is made … | |
Hi, i facing a problem with update data in database... i had create 3 files [CODE] //list_records.php <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); … |
The End.