39,393 Topics

Member Avatar for
Member Avatar for nats01282

Hello, i was searchin for some fancy flash effects for my website and come accross this website [URL="http://agencynet.com/#/home/"]http://agencynet.com/#/home/[/URL] i am unsure what this website is coded in and would like to know. and also what skills are needed to create a website like this? im not after creating a massive …

Member Avatar for nats01282
0
67
Member Avatar for SunnySideUp

Hi, I have an include file called 'includes/header.php' and would like to know the impact of this file on SEO and Search Engine Rankings, Keywords and Descriptions. 1) Would I be better saving the file as header.html (although it does have php code in it) ? 2) I have a …

Member Avatar for mankis
0
100
Member Avatar for maxicube

oh hey guys, i got this little issue where i can read from the database. but i cannot write to it.. here be my full code. live site at [url]http://downloadavirus.net[/url] [CODE]<?php $params = $_SERVER['QUERY_STRING']; $url = $_POST["url"]; $username = "--------"; $password = "--------"; $database = "--------"; mysql_connect(localhost, $username, $password); @mysql_select_db($database) …

Member Avatar for Kieran Y5
0
160
Member Avatar for Brianbc

I am using the code below to insert time into a table, and this is the output it's giving me: 0000-00-00 [CODE]//table start DATETIME, //code to insert date into db $_POST['start']=date("Y-m-d H:i:s"); $insert = "INSERT INTO eguardIPs (Field1,Field2,Field3,start) VALUES ('".$_POST['Field1']."', '".$_POST['Field2']."', '".$_POST['Field3']."', '".$_POST['start']."')"; $add_start = mysql_query($insert);[/CODE]

Member Avatar for Brianbc
0
104
Member Avatar for nats01282

if i use this code page1.php [CODE] <form action="" method="post" > First <input type="text" name="first" /> last <input type="text" name="last" /> <input type="submit" /> </form> <a href="page2.php?first=<?php echo $_POST['first'] ?>&last=<?php echo $_POST['last'] ?>">click here</a>[/CODE] page2.php [CODE] <?php session_start(); define ('first', $_GET['first']); define ('last', $_GET['last']); ?> <p>information submitted thank you, <a …

Member Avatar for Setvir
0
141
Member Avatar for simirnov

Hi all, I am a newbie in PHP and is validating a form in PHP. I have an issue in this validation. The issue is that form validation is working properly to the field of email address. After this email comes the password and confirm password. The password fields are …

Member Avatar for hielo
0
10K
Member Avatar for Cool&Awesome

Hi guys, Ok, call me lazy, or call me busy, but what's your opinion on this: Does it make sense using resized original images instead of thumbnails? Today's internet is pretty fast,and i've just done an image intensive website, so i'm thinking on applying this solution to an image intensive …

Member Avatar for Cool&Awesome
0
73
Member Avatar for JustmeVSI

Hi guys. The thing is that I have some experience with other programing languishes like Java and C#. I recently got into php and java script. The questions is when wold you prefer to use java script functions over php. For example say the random function. I'm aware of the …

Member Avatar for JustmeVSI
0
445
Member Avatar for Raf8

Hi ! I’m new to php and try to devellop a simple application that would allow the user to classify various dishes by using radio buttons. I'm a bit lost :( My code is as follows (I’ve already got help to achieve it, but can’t go further). The first part …

Member Avatar for Raf8
0
118
Member Avatar for lbargers

Hi, My sql database contains a video table which has a video 'adddate' field. I need to change the code [COLOR="Red"].$video['adddate'].[/COLOR] from the following format: 2010-11-02 to 11-2010 I've changed it in .tpl files doing the following: {assign var='vidMthYr' value=$videos[i].adddate} {$vidMthYr|date_format:"%m-%Y"} However that does not work in my .php code …

Member Avatar for diafol
0
138
Member Avatar for RoseMary3

i am looking for some help creating a php script that allows users to vote up (only up) a certain item.

Member Avatar for jon44
0
80
Member Avatar for plasteezy

how do i use the phpmailer() class to send html emails with images embedded in it my code is shown below [CODE]<?php require("class.phpmailer.php"); $msg = $_POST['msg']; $subject = $_POST['subject']; $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "smtp.branddesignexpress.com"; $mail->SMTPAuth = false; $mail->Username = 'admin@example.com'; $mail->Password = '*****'; $mail->From="mailer@example.com"; $mail->FromName="My site's mailer"; …

Member Avatar for pritaeas
0
181
Member Avatar for Kniggles

anyone know how to make the colour text box w2 change to a random colour when button clicked please ? [CODE] </html> <FORM NAME = frmOne> StartA X: <INPUT TYPE = Text NAME = x SIZE = 5 value ="0"> Two B Y: <INPUT TYPE = Text NAME = y …

Member Avatar for ko ko
0
203
Member Avatar for andrewliu

Hello, I have a login form and a user can register their email address. But I was wondering how do I only allow certain email domains able to register? Like if I only want @gmail.com or @yahoo.com only This is my code right now [CODE] /* Email error checking */ …

Member Avatar for andrewliu
0
149
Member Avatar for dantheman50_98

Hi There, Im been using the opencart system to build an ecommerce site and one thing has been causing a great deal of hassle. When one adds a product image to the site, if it has a height lower than that specified in the opencart admin, whitespace is added to …

0
121
Member Avatar for Kniggles

`[CODE]<form action="ScoreCardAlpha.php" method="post"> A: <input type="text" name="$X" /> B: <input type="text" name="$Z" /> C: <input type="text" name="$W" /> // read input data on $W , $X and check to see if (it or they{1,2,3 and byond}) has http// if so save after // // check all data for hacks. <input …

Member Avatar for mschroeder
0
207
Member Avatar for xq1

Hi, I am new to PHP and am trying to construct a page that will select files from a directory either manually or based on a time period in which the file was created. First of all, does anyone know of where I can get code that will do that? …

Member Avatar for xq1
0
163
Member Avatar for Brianbc

My file below checks if the user is ! logged in, and redirects to login page, or does nothing if user is logged in. [CODE]<?php if(isset($_COOKIE['SID'])) { $sid= $_COOKIE['SID']; $uid = $_COOKIE['User']; $lastip = $_COOKIE['Cname']; $_POST['SID']=$sid; $check = mysql_query("SELECT * FROM users WHERE SID = '".$_POST['SID']."'")or die(mysql_error()); while($info = mysql_fetch_array( …

Member Avatar for theonly
0
2K
Member Avatar for eovogt

Hey Guys! Wondering if maybe someone can help me out! I'm trying to do something with API and i dont know why my code isnt working basically i want the function to grab the user's ID# and then find them in the database. Now the only way that I can …

Member Avatar for eovogt
2
121
Member Avatar for ourloop

Hi, This code is from an older thread. I'm want to use the code, but I'm having some difficulty with the MySQL table creation. Here's the code: [CODE]<? session_start(); require("connection.php"); if(isset($_POST['submit_btn_name']) && $_POST['submit_btn_name']!='') { $title = mysql_real_escape_string($_POST['title']); $date = mysql_real_escape_string($_POST['date']); $author = mysql_real_escape_string($_POST['author']); $type = mysql_real_escape_string($_POST['type']); $description = mysql_real_escape_string($_POST['description']); $vidName …

0
76
Member Avatar for canterorist

hi! how to know if the person is online? i used the database code but it is not good idea for me. do i need cookies code? can anyone help me.

Member Avatar for vaultdweller123
0
51
Member Avatar for mohansinhf

I want to ask two little questions... Question 1. How to put the below data in mysql through phpMyAdmin. "2912x1994" (without brackets). When I am updating this data in varchar assigned field, it shows error. Question 2. How to get the as it is data from mysql. like if we …

Member Avatar for pritaeas
0
83
Member Avatar for showman13

Two Sessions Questions I am developing a members site, and trying to make it template and DB driven, so it can be transportable between domains. Each page that is called makes use of include statements to bring in the constant information that is found on every page Sample page call …

Member Avatar for showman13
0
115
Member Avatar for 360anish

Hi, i have two input box input box 1 : name is first input box 2 : name is second suppose if i enter "fresh" should be transliterated using google and the output in french should be displayed in the second input box. does anyone have any idea how to …

Member Avatar for 360anish
0
283
Member Avatar for dunnjoshua

I need to insert a PHP snipet from Next Gen Links so they can start the link building process for me. I am new to this Anyone have an answer for me?

0
64
Member Avatar for fuston05

I am self taught in php only. now im starting to learn javascript as well. I have noticed so far that I can dynamically creat my pages, forms, validation etc... with js just like i can with php. (at least that seems true so far from what i am learning). …

Member Avatar for chrishea
1
254
Member Avatar for nduarte

So I am trying to work on securing a database that I use by using $_POST instead of $_GET. Here is how I was origianally doing it: [CODE=php] while($data = mysql_fetch_array) { echo '<a href="targetpage.php?id=' . $data['id'] . '">View</a>'; } [/CODE] The page that it goes to has the code: …

Member Avatar for chrishea
0
120
Member Avatar for smartmedia

hello everyone Richard here i have a script that im having some issues with and was hoping to find someone here who can help me figure out the problem ok the script in php i get a notice when tryng to create an admin passowrd "User not verified" im using …

Member Avatar for smartmedia
0
329
Member Avatar for bristolspider

hi all im a little new to php code i has searched a lot of site in hope of being able to work this one out and now im stuck. i have a page for a product on it and the php file for it is[CODE]<?php //****************************** //Custom Code for …

Member Avatar for Setvir
0
198
Member Avatar for Stefano Mtangoo

Now, heading might be a bit misleading. If that is the case forgive me as I cannot think of best heading! i have database of books, that is e-books. Each table have page number and contents (to simulate true book). The problem is, I have to search for a word …

Member Avatar for Stefano Mtangoo
0
90

The End.