39,323 Topics

Member Avatar for
Member Avatar for joshyxux

[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 …

Member Avatar for diafol
0
80
Member Avatar for jacob.irwin

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); …

Member Avatar for diafol
0
161
Member Avatar for oxenjo30

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 …

Member Avatar for oxenjo30
0
213
Member Avatar for tape enterprise

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 …

0
75
Member Avatar for rkayd

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 - …

Member Avatar for rkayd
0
2K
Member Avatar for toasty525

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']; …

0
79
Member Avatar for morteza_ipo

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] …

Member Avatar for morteza_ipo
0
144
Member Avatar for bangla

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 "; …

Member Avatar for bangla
0
125
Member Avatar for Majdaa

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 …

Member Avatar for chayan.cjee
0
687
Member Avatar for puvi

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 …

Member Avatar for mschroeder
0
321
Member Avatar for haoth

[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>"; …

Member Avatar for haoth
0
95
Member Avatar for showman13

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 …

Member Avatar for pixelsoul
0
77
Member Avatar for rajeesh_rsn

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 …

Member Avatar for diafol
0
85
Member Avatar for jacob.irwin

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 …

Member Avatar for jkon
0
297
Member Avatar for xxmp

Does anyone know who i can take the buffer size, buffer number and page size using php? Thank you very much

Member Avatar for jkon
0
133
Member Avatar for puvi

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 …

Member Avatar for puvi
0
149
Member Avatar for accra

[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") { …

Member Avatar for Javvy
0
185
Member Avatar for linux.buzz

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 ) …

0
62
Member Avatar for jacob.irwin

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]?> …

Member Avatar for jacob.irwin
0
102
Member Avatar for herkfsu

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 …

Member Avatar for chrishea
0
156
Member Avatar for mikeflash

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 …

Member Avatar for chrishea
0
306
Member Avatar for IWDesigns

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 …

Member Avatar for Javvy
0
60
Member Avatar for peterbata

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 …

Member Avatar for peterbata
0
381
Member Avatar for bluetoot

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(); /****************************************************************************** * * * * * * ******************************************************************************/ /****************************************************************************** * …

Member Avatar for cilivili
0
257
Member Avatar for tomjrjones

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 …

Member Avatar for 84hd0ns
0
130
Member Avatar for FBG

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 …

Member Avatar for FBG
0
190
Member Avatar for doomfrawen

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 …

Member Avatar for diafol
0
191
Member Avatar for Adoshev

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 …

Member Avatar for diafol
0
359
Member Avatar for waveydaveywaves

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. …

Member Avatar for waveydaveywaves
0
443
Member Avatar for hotice47

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 …

Member Avatar for hotice47
0
149

The End.